-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
Incorrect BSD-3 finding for Ruby license #1800
Comments
Reported-by: @jkschulz Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@jkschulz thanks for the report! |
Thanks so much for the quick fix! |
@jkschulz re:
Sure thing! we like our bugs quickly squashed when possible! 🐛 Note that because of the way scancode works, we eventually perform a pairwise diff.
This was matched instead to this rule https://github.com/nexB/scancode-toolkit/blob/3a007baa7b04c668d2cf2fb70945ad86b156728b/src/licensedcode/data/rules/bsd-new_zlib2.RULE:
where one word was not matched in the diff ([BSD]) and the match score was not perfect either. FWIW, this is a wording seen originally in GNU license notices and rarely in Ruby or BSD notices. Adding a new rule and data was the fix: Note the quirk that today's Ruby license is really a choice of BSD-2-Clause (bsd-simplified) OR Ruby, when why we report this when the rule is matched and not a bare Finally I also pushed a few extra improved rules based on a scan review of rubyzip in the same commit. |
Reported-by: @jkschulz Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Description
These lines are being identified as BSD-3 license, though it says "ruby license"
To reproduce:
License finding:
System configuration
For bug reports, it really helps us to know:
The text was updated successfully, but these errors were encountered: