Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPDX license matching is incorrectly case-sensitive #7039

Closed
DaveRandom opened this issue Jan 25, 2018 · 1 comment
Closed

SPDX license matching is incorrectly case-sensitive #7039

DaveRandom opened this issue Jan 25, 2018 · 1 comment
Labels
Milestone

Comments

@DaveRandom
Copy link

DaveRandom commented Jan 25, 2018

My composer.json:

{
  "name": "vendor/package",
  "license": "mit"
}

Output of composer diagnose:

Checking composer.json: WARNING
License "mit" is not a valid SPDX license identifier, see https://spdx.org/licenses/ if you use an open license.
/** stuff */

According to section 4 of the SPDX license matching guidelines:

All upper case and lower case letters should be treated as lower case letters

This issue is also causing packagist to fail updating from webhooks and manually, for example when I press "Update" here I get an error message stating:

Skipped branch master, Invalid package information:
License "mit" is not a valid SPDX license identifier, see https://spdx.org/licenses/ if you use an open license.
If the software is closed-source, you may use "proprietary" as license.

@phadej
Copy link

phadej commented Jul 13, 2018

Note: spdx/spdx-spec#63 The issue is still open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants