-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
*GPL -or-later and -only in sidebar instructions #563
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
f3988a7
SPDX license list 3.0 uses -or-later and -only over + and no modifier
mlinksva bcdc738
Merge branch 'gh-pages' into only-or-later
mlinksva 4f16e29
Merge branch 'gh-pages' into only-or-later
mlinksva 5aa36a3
update apache-2.0 examples to pass tests
mlinksva 278bae2
test handle repo name with . in it
mlinksva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't checked all of these locations, but the
package.json
docs explicitly call for SPDX 2.0:although it's not clear to me how strongly they mean that. In any case, I think it's probably best to continue to recommend SPDX license expressions use the old identifiers, at least until consumering tools have had some time to update. It's also not entirely clear to me how the license list is supposed to interact with the spec. Does the 2.1 spec's inclusion of the 2.5 license list limit SPDX 2.1 license expressions to those IDs? In spdx/spdx-spec#37, I'm suggesting explicitly pinning the license-list version. If that sounds like a possible interpretation of the current spec, you may want to wait at least until the next SPDX spec release before recommending the 3.0 license list identifiers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assumed the there is no intent to have the spec version imply a license list version. Surely that intent would be clearly expressed places like:
Not to mention in the definitions of various license declared/concluded/data license fields.
I'll leave this open pending more information, and subscribe to the issue you point out. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meant to mention: there's an optional
LicenseListVersion
field in the SPDX spec, which is a pretty strong implication that a spec version isn't tied to a license list version, though a producer can explicitly specify one.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds useful when you have an SPDX file, although the spec doesn't seem to discuss the default value. The
package.json
docs don't either, and there's no way to specify a license-list version there. License-expression consumers would seem to need both an SPDX-spec version for the license-expression syntax and (if it is intended to float independently, asLicenseListVersion
implies) a license list version.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ex: rust-lang/cargo#4888
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Rust docs seem to have moved to https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata:
And those docs do not yet contain rust-lang/cargo#4898. Perhaps they only update them after Cargo releases?
And the Ruby docs seem to have a similar issue to the old Rust/Cargo
/
, withlicenses
that does not distinguish betweenAND
andOR
and a lack of clarity about the SPDX (list) versions and whetherlicense
takes license expressions or just short identifiers. I think pulling the Rust declarations forward is going to absorb my available free time, so I'll leave pulling Ruby forward to someone else ;).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wking I think I found where for Ruby: rubygems/rubygems#2152
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I mean where rubygems gets its list of licenses; lack of support for license expressions and/or use instead of ambiguous
licenses
I haven't looked into, and doesn't impact this PR.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my own memory, npm/npm#19558 is probably what will be closed when npm uses the updated license list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm 6, released today, includes updated license list support.