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

fix: remove duplicate packages from final package list #119

Merged

Conversation

viveksahu26
Copy link
Contributor

closes: #101

This PR resolves the duplicate packages from final package list. It identifies the duplicacy of package by following:

PURL match: If the PURL matches, it's a duplicate; no need to check further.
CPE match: If the CPE matches, it's a duplicate; no need to check further.
Name-Version match: If the Name and Version match, it's a duplicate; no need to check further.
Checksum match: If the Checksum matches, it's a duplicate; no need to check further.

Reference: #101 (comment)

TODO: To test against some more SBOMs.

@viveksahu26 viveksahu26 changed the title remove duplicate packages from final package list fix: remove duplicate packages from final package list Dec 2, 2024
Signed-off-by: Vivek Kumar Sahu <[email protected]>
@riteshnoronha riteshnoronha merged commit d5eb501 into interlynk-io:main Dec 8, 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.

Duplicate packages after merge
2 participants