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

ScanController: Stop mixing provenance resolution issues of different type #7078

Merged
merged 2 commits into from
Jun 5, 2023

Conversation

fviernau
Copy link
Member

@fviernau fviernau commented Jun 1, 2023

See individual commits.

Part of #5950.

@fviernau fviernau requested a review from a team as a code owner June 1, 2023 13:40
@fviernau fviernau force-pushed the scan-controller-separate-resolution-issues branch from 3bf12c2 to b3d8b60 Compare June 1, 2023 13:44
scanner/src/main/kotlin/ScanController.kt Outdated Show resolved Hide resolved
scanner/src/main/kotlin/ScanController.kt Outdated Show resolved Hide resolved
scanner/src/main/kotlin/ScanController.kt Outdated Show resolved Hide resolved
@fviernau fviernau force-pushed the scan-controller-separate-resolution-issues branch from b3d8b60 to 3550c58 Compare June 1, 2023 15:24
@fviernau fviernau enabled auto-merge (rebase) June 1, 2023 15:49
@codecov
Copy link

codecov bot commented Jun 1, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (c0015b4) 64.61% compared to head (3eb3c3d) 64.61%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7078   +/-   ##
=========================================
  Coverage     64.61%   64.61%           
  Complexity     1969     1969           
=========================================
  Files           331      331           
  Lines         16654    16654           
  Branches       2387     2387           
=========================================
  Hits          10761    10761           
  Misses         4846     4846           
  Partials       1047     1047           
Flag Coverage Δ
funTest-non-docker 29.35% <ø> (ø)
test 40.50% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fviernau fviernau force-pushed the scan-controller-separate-resolution-issues branch from 3550c58 to 89631ce Compare June 2, 2023 06:24
@fviernau fviernau requested a review from sschuberth June 2, 2023 06:24
Separate the issues for package provenance resolution and nested
provenance resolution. This brings the following benefits:

1. It makes clear that there can be at most one package provenance
   resolution issue per ID.
2. It makes clear that there can be at most one nested provenance
   resolution issue per provenance.
3. Nested provenance resolution issues no more get duplicated for each
   package using that provenance.

This change is a preparation for separating these issue in a similar way
in the `ScannerRun`.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
Prepare for using them in an upcoming change.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
@fviernau fviernau force-pushed the scan-controller-separate-resolution-issues branch from 89631ce to 3eb3c3d Compare June 2, 2023 13:22
@fviernau fviernau merged commit 6bb71f9 into main Jun 5, 2023
@fviernau fviernau deleted the scan-controller-separate-resolution-issues branch June 5, 2023 09:08
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.

3 participants