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

Disqualify conflicts with self for packages #1415

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonjohnsonjr
Copy link
Contributor

Previously, we called disqualifyConflicts to disqualify any packages that would conflict with whatever package we selected. This made it possible to pick multiple packages with the same name, which we'd then deduplicate and end up with whatever the first package was. That's unexpected and produced solutions that were missing a package in a few corner cases, mostly caused by old packages (in wolfi) providing things accidentally that weren't withdrawn.

I've manually tested this change against our large corpus of images and nothing failed to solve.

@imjasonh imjasonh enabled auto-merge (squash) November 22, 2024 18:47
Previously, we called disqualifyConflicts to disqualify any packages
that would conflict with whatever package we selected. This made it
possible to pick multiple packages with the same name, which we'd then
deduplicate and end up with whatever the first package was. That's
unexpected and produced solutions that were missing a package in a few
corner cases, mostly caused by old packages (in wolfi) providing things
accidentally that weren't withdrawn.

I've manually tested this change against our large corpus of images and
nothing failed to solve.

Signed-off-by: Jon Johnson <[email protected]>
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.

2 participants