Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix redundant package deletions when considering ELF packages #2862

Merged
merged 1 commit into from
May 9, 2024

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented May 9, 2024

This PR fixes a subtle behavior when there is an SBOM with binary packages and no ELF packages. Currently the binary packages are being removed since the package comparison is meant to only be considering ELF packages primarily and not all binary packages (which are ELF packages + binary classifier packages).

@wagoodman wagoodman added the bug Something isn't working label May 9, 2024
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman changed the title fix pruning binary packages Fix redundant package deletions when considering ELF packages May 9, 2024
@wagoodman wagoodman marked this pull request as ready for review May 9, 2024 19:28
@wagoodman wagoodman enabled auto-merge (squash) May 9, 2024 19:28
@wagoodman wagoodman merged commit c200896 into main May 9, 2024
11 checks passed
@wagoodman wagoodman deleted the fix-rm-binary branch May 9, 2024 19:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants