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

Migrate to the new SCANOSS client #8978

Merged
merged 4 commits into from
Aug 11, 2024
Merged

Migrate to the new SCANOSS client #8978

merged 4 commits into from
Aug 11, 2024

Conversation

sschuberth
Copy link
Member

Please have a look at the individual commit messages for the details.

Copy link

codecov bot commented Aug 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.97%. Comparing base (4f3af43) to head (bcb49cc).
Report is 13 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8978      +/-   ##
============================================
+ Coverage     67.64%   67.97%   +0.32%     
+ Complexity     1168     1158      -10     
============================================
  Files           244      241       -3     
  Lines          7783     7690      -93     
  Branches        867      867              
============================================
- Hits           5265     5227      -38     
+ Misses         2161     2106      -55     
  Partials        357      357              
Flag Coverage Δ
funTest-docker 67.39% <ø> (ø)
funTest-non-docker 33.92% <ø> (ø)
test 37.86% <ø> (-0.04%) ⬇️

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.

This is a preparation for migrating from the currently used library [1],
which is deprecated, to the newer library [2] which does not offer
`BlacklistRules` anymore. The newer library instead skips certain file
extensions itself as part of the winnowing algorithm, see [3].

[1]: https://github.com/scanoss/scanner.java
[2]: https://github.com/scanoss/scanoss.java
[3]: https://github.com/scanoss/scanoss.java/blob/8598c47/src/main/java/com/scanoss/Winnowing.java#L204-L210

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth enabled auto-merge (rebase) August 10, 2024 11:52
This helps to detect changes in the algorithm, e.g. on library updates.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth merged commit 1a277d1 into main Aug 11, 2024
22 checks passed
@sschuberth sschuberth deleted the new-scanoss-client branch August 11, 2024 15:23
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