-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improved license name recognition #24
Comments
There also seems to be a common pattern of listing multiple licenses in For example:
These sometimes appear with or without parenthesis. Potentially it could recognise the AND/OR and use that to determine whether a module should be flagged depending on the combination of licenses and the conjunction used. |
Thanks for reporting, we will take a look. |
@deevus Regarding tokenisation, we will not be doing it for security reasons. It's possible that someone might create his custom license called e.g. "GPL" with some unknown terms and it would erroneously get flagged as GPLv3. The preferable choice of action when dealing with weird license name formats would be to persuade package maintainers to use SPDX. As for multiple licenses, we have added it to our internal board. |
License names seem to vary wildly across different projects. Here are 3 examples which use the same Apache 2.0 license:
It might be possible to sanitise or tokenise these variations so that can they be recognised as the same license.
The text was updated successfully, but these errors were encountered: