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

Handle GNU shenanigans #17

Merged
merged 15 commits into from
Dec 14, 2019
Merged

Handle GNU shenanigans #17

merged 15 commits into from
Dec 14, 2019

Conversation

Jake-Shadle
Copy link
Member

The GNU licenses (GPL, AGPL, LGPL, GFDL) use an annoying suffix format described here which means they have to be treated differently from...every other license identifier.

This PR adds support for the -only and -or-later suffixes on those licenses so they can be checked by Licensee. And just as with the more standard +, trying to specify a Licensee with one of the suffixed license identifiers will give an error, since the suffixes are determined by the license holder(s), not the licensee.

Part of EmbarkStudios/cargo-deny#55

@Jake-Shadle Jake-Shadle marked this pull request as ready for review December 14, 2019 20:18
@Jake-Shadle Jake-Shadle merged commit b0f88df into master Dec 14, 2019
@Jake-Shadle Jake-Shadle deleted the gpl-shenanigans branch December 14, 2019 20:28
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.

1 participant