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

Trim dotnet sbom by tracking resolved versions #633

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

prabhu
Copy link
Collaborator

@prabhu prabhu commented Oct 11, 2023

Fixes #631

@robaliias could you kindly test this branch.

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu requested a review from cerrussell October 11, 2023 20:59
Copy link
Contributor

@cerrussell cerrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prabhu I'm still getting both version 4.0.11 and 4.3.0 of System.Collections

@robaliias
Copy link
Contributor

Tested. This fixes the issue, and looks good to me.

@prabhu
Copy link
Collaborator Author

prabhu commented Oct 12, 2023

@cerrussell @robaliias Could you retest with the latest from this branch?

@robaliias
Copy link
Contributor

I don't think that 25802e7 is needed. I believe that it actually removes package versions that are used since different frameworks can have different target versions of the same package.

@prabhu
Copy link
Collaborator Author

prabhu commented Oct 12, 2023

@robaliias, could you test again?

@cerrussell wdyt? We might be still over-reporting but at least we are in a few hundred instead of a thousand.

@prabhu prabhu merged commit 62fcf72 into master Oct 13, 2023
27 checks passed
@prabhu prabhu deleted the fix/issue-631 branch October 13, 2023 16:42
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.

dotnet - project.assets.json parsing creates extra package versions in the BOM
3 participants