-
-
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
scancode-toolkit-31.0.2 is not recognizing a declared license choice #3082
Comments
@DennisClark this is already fixed (in the sense we don't return an unknown anymore) in the LicenseDetection branch for the upcoming release: https://github.com/nexB/scancode-toolkit/tree/add-license-detection. Similar to Here the detection rule is
But this still detects To solve that part we do have to add rules, and this cannot be solved by generalized processing. New license detection looks like this:
There was also a bug related to how we group matches into LicenseDetection, I have solved this to factor in license intros when doing this grouping. Here are the scan results for you to look at: Old scan just this issue: New scan just this issue: Old scan entire file: New scan entire file: There are still a few
But these are also beyond what we can achieve by generalized processing, but they can be solved by rules. |
scanned doris-1.1.1-rc03 ( available at https://github.com/apache/doris/archive/refs/tags/1.1.1-rc03.tar.gz )
using scancode-toolkit-31.0.2
and although it detected most of the licenses in the rather complex notice (attached) in
doris-1.1.1-rc03/dist/LICENSE-dist.txt
it returns unknown-license-reference twice for portions of the following text:
See lines 9463 forward in the scan results for multiple cases where SCTK finds multiple cases of both unknown-license-reference and also identifies the license choices.
In these cases the authors declare the choice of Apache 2.0, using slightly different language in each case. It would be great if SCTK could be improved to interpret these instances of a dual-license choice being declared in the license notice and not to return an unknown-license-reference.
LICENSE-dist.txt.zip
doris-1.1.1-rc03-results.json.zip
The text was updated successfully, but these errors were encountered: