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

License type GPL-3.0-or-later throws warning #101

Closed
mmarseglia opened this issue May 22, 2018 · 3 comments
Closed

License type GPL-3.0-or-later throws warning #101

mmarseglia opened this issue May 22, 2018 · 3 comments

Comments

@mmarseglia
Copy link

Using metadata-json-lint (2.1.0)

Set the following in metadata.json:

  "license": "GPL-3.0-or-later",

Run tests and get this warning message:

(WARN) license: License identifier GPL-3.0-or-later is not in the SPDX list: http://spdx.org/licenses/
Warnings found in metadata.json

The expected behavior is no warnings and the test to pass. The license is valid according to https://spdx.org/licenses/.

@rnelson0
Copy link
Member

This appears to be related to domcleal/spdx-licenses#1, @domcleal can you verify?

@domcleal
Copy link
Contributor

It was just an outdated licence list, as the new -or-later IDs came in with SPDX 3.0. The gem was still on 2.4, so I've pushed a new version with the updated list. It should be fixed now if you update to spdx-licences-1.2.0 🙂

(The linked issue is for more complex combinations of multiple licences, which is rare in practice, at least for Puppet modules.)

@domcleal
Copy link
Contributor

Please re-open if the gem update doesn't fix the issue for you.

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

No branches or pull requests

3 participants