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,model): Move NestedProvenance to model #8724

Closed

Conversation

pepper-jk
Copy link
Contributor

Moving the NestedProvenance data structure to model, allows it to be used within the model without creating a circular dependency between scanner and model.

This would enable a future AnalayzerInput class [1] to utilize it and still be placed into the model,
where its predecessor Repostory is already located.

[1] #2896 (comment)

Signed-off-by: Jens Keim jens.keim@forvia.com

Moving the `NestedProvenance` data structure to model,
allows it to be used within the model without creating
a circular dependency between scanner and model.

This would enable a future `AnalayzerInput` class [1]
to utilize it and still be placed into the model,
where its predecessor `Repostory` is already located.

[1] oss-review-toolkit#2896 (comment)

Signed-off-by: Jens Keim <jens.keim@forvia.com>
@pepper-jk pepper-jk force-pushed the nested-provenance-move branch from 51b9cb8 to 32a66e5 Compare June 4, 2024 13:56
@pepper-jk pepper-jk changed the title NestedProvenance: Move class from scanner to model refactor(scanner,model): Move NestedProvenance to model Jun 4, 2024
Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.82%. Comparing base (f560e02) to head (32a66e5).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8724      +/-   ##
============================================
- Coverage     67.85%   67.82%   -0.03%     
+ Complexity     1165     1158       -7     
============================================
  Files           244      243       -1     
  Lines          7736     7726      -10     
  Branches        865      864       -1     
============================================
- Hits           5249     5240       -9     
+ Misses         2128     2127       -1     
  Partials        359      359              
Flag Coverage Δ
funTest-docker 66.84% <ø> (ø)
funTest-non-docker 34.10% <ø> (-0.07%) ⬇️
test 37.94% <ø> (-0.07%) ⬇️

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.

@pepper-jk
Copy link
Contributor Author

Closing this PR in favor of a different approach, see #2896 (comment).

@pepper-jk pepper-jk closed this Jun 6, 2024
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.

1 participant