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

refactor(scanner)!: Always parse ScanCode license expressions #7331

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

sschuberth
Copy link
Member

@sschuberth sschuberth commented Jul 25, 2023

Remove the feature to toggle parsing of ScanCode license expressions. Starting with ScanCode output format version 3, license expressions are first class citizens in ScanCode results, making this feature cumbersome to maintain.

Note that the web-app report still would not show license expressions anyway (see issue #5017).

Note
This is a breaking change for the configuration as the parseLicenseExpressions option for ScanCode is being removed. Users that rely on parseLicenseExpressions = false for historic reasons might need to update license curations to properly use expressions.

@sschuberth sschuberth requested a review from a team as a code owner July 25, 2023 06:36
@sschuberth sschuberth force-pushed the always-parse-scancode-expressions branch from ac0d5c8 to 6def563 Compare July 25, 2023 06:36
Remove the feature to toggle parsing of ScanCode license expressions.
Starting with ScanCode output format version 3, license expressions are
first class citizens in ScanCode results, making this feature cumbersome
to maintain.

Note that the web-app report still would not show license expressions
anyway [1].

[1]: #5017

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (7459bb8) 61.15% compared to head (6def563) 61.15%.

❗ Current head 6def563 differs from pull request most recent head 65ab440. Consider uploading reports for the commit 65ab440 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7331   +/-   ##
=========================================
  Coverage     61.15%   61.15%           
  Complexity     1968     1968           
=========================================
  Files           335      335           
  Lines         16489    16489           
  Branches       2350     2350           
=========================================
  Hits          10084    10084           
  Misses         5429     5429           
  Partials        976      976           
Flag Coverage Δ
funTest-docker 69.29% <ø> (ø)
funTest-non-docker 30.66% <ø> (ø)
test 36.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sschuberth
Copy link
Member Author

@oss-review-toolkit/kotlin-devs, as @bennati confirmed that HERE is not using parseLicenseExpressions = false, please review.

@sschuberth sschuberth merged commit 10bf84c into main Aug 21, 2023
@sschuberth sschuberth deleted the always-parse-scancode-expressions branch August 21, 2023 10:10
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.

2 participants