Problem/Motivation
The standardized SPDX (System Package Data Exchange) license identifiers are used by many other projects in various places, such as package.json and composer.json files, and I'd say Drupal should use these standard identifiers too. See https://spdx.org/licenses/
Drupal uses GNU-GPL-2.0-or-later, this should be shortened to simply GPL-2.0-or-later
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3437783
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3437783-use-standardized-spdx
changes, plain diff MR !7298
- 3437783-backport
changes, plain diff MR !7397
Comments
Comment #3
mfbComment #4
smustgrave commentedMake sense. Applied MR and searched for GNU-GPL-2.0-or-later and seems everything has been replaced.
Not sure this needs any kind of sign off or not but going to mark.
Comment #5
longwaveI think adopting this standard is a good idea, and we could document this in LibraryDiscoveryParser for the
namefield:Comment #7
mfbAdded documentation to resolve #5
Comment #8
smustgrave commentedDescription added by @mfb reads well.
Comment #10
catchRebased to check if this fails the new performance asset size coverage and it does - we're sending less bytes because the license information is included in the CSS aggregates, and it's now shorter - just needs the assertions updating.
Comment #11
mfbTests are passing
Comment #12
longwaveThanks!
Comment #14
catchCommitted/pushed to 11.x, thanks!
This doesn't cherry-pick cleanly to 10.3.x so will need a backport MR.
Comment #16
mfbBackport ready for review
Comment #17
longwaveBackport looks good.
Comment #18
alexpottCommitted e3da4cc and pushed to 10.3.x. Thanks!