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

Make nickname a required meta field #418

Merged
merged 3 commits into from
May 25, 2016
Merged

Make nickname a required meta field #418

merged 3 commits into from
May 25, 2016

Conversation

mlinksva
Copy link
Contributor

Add missing nicknames

Use SPDX ID if no customary nickname (eg GNU GPLv3) exists

This ensures that a relatively compact name is always available

I may be missing some obvious customary names, e.g., is "Eclipse
1.0" customary? For now I've used the SPDX ID, EPL-1.0.

Add missing nicknames
Use SPDX ID if no customary nickname (eg GNU GPLv3) exists

This ensures that a relatively compact name is always available

I may be missing some obvious customary names, e.g., is "Eclipse
1.0" customary? For now I've used the SPDX ID, EPL-1.0.
@benbalter
Copy link
Contributor

👍 Good idea.

@mlinksva
Copy link
Contributor Author

I think I have a better idea though: make a new spdx-id field required. This would provide the case-sensitive version people sometimes want and make for a default short display value. Nickname would still be available for licenses with customary names, and user interfaces that wanted to could prefer nicknames.

@mlinksva mlinksva merged commit 027890a into gh-pages May 25, 2016
@mlinksva mlinksva deleted the nicknames-for-all branch May 25, 2016 22:43
wking added a commit to wking/choosealicense.com that referenced this pull request Jan 3, 2018
The previous case-insensitive matching was removed in e5f46fa (test
required spdx-ids against data from spdx, 2016-05-25, github#418).  That
commit was designed [1] to allow case-sensitive matching as discussed
in [2].  But while I'm in favor of case-sensitive keys in spdx_list,
the case-sensitive match breaks script/check-approval which downcases
its argument since it was added in 8e56bb8 (add
script/check-approval, 2016-01-18, github#318).

[1]: github#418 (comment)
[2]: licensee/licensee#72
wking added a commit to wking/choosealicense.com that referenced this pull request Jan 3, 2018
The previous case-insensitive matching was removed in e5f46fa (test
required spdx-ids against data from spdx, 2016-05-25, github#418).  That
commit was designed [1] to allow case-sensitive matching as discussed
in [2].  But while I'm in favor of case-sensitive keys in spdx_list,
the case-sensitive match breaks script/check-approval which downcases
its argument since it was added in 8e56bb8 (add
script/check-approval, 2016-01-18, github#318).

There are more notes on SPDX's plans for case sensitivity in [3], so
we should see a clearer policy there soon.  I'm arguing for
case-sensitive *display* with optional case-insensitive matching.  I
am optimistic that the SPDX will at least agree not to register short
IDs that only differ by case, which is all we need to make this
case-insensitive match safe here.

[1]: github#418 (comment)
[2]: licensee/licensee#72
[3]: spdx/spdx-spec#63
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

Successfully merging this pull request may close these issues.

3 participants