-
Notifications
You must be signed in to change notification settings - Fork 315
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
Add support for ScanCode output format version 3 #7397
Conversation
5528e49
to
11fbc35
Compare
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #7397 +/- ##
=========================================
Coverage 60.93% 60.93%
Complexity 1969 1969
=========================================
Files 338 338
Lines 16626 16626
Branches 2363 2363
=========================================
Hits 10131 10131
Misses 5517 5517
Partials 978 978
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Edit: @mnonnenmacher and myself discussed a work-around. |
11fbc35
to
a41b81d
Compare
a41b81d
to
846c611
Compare
Make the mapping code operate directly on strings to prepare for a ScanCode data model refactoring. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
License reference information has been excluded by default from the result [1]. As that information is required to map ScanCode license keys to SPDX IDs [2], explicitly enable that option. [1]: aboutcode-org/scancode-toolkit@84eda21 [2]: aboutcode-org/scancode-toolkit#3458 Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
846c611
to
606bd5f
Compare
While in previous output formats the primary elements for license entries were single license keys (which needed to be grouped to expressions), starting with output format version 3 the primary license entries are expressions. Resolves #6617. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
606bd5f
to
21b4266
Compare
Please have a look at the individual commit messages for the details.