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 #106: Fix wrongly filtered out packages when using --versioned-dirs #107

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

msirringhaus
Copy link
Contributor

I have not (yet) made --versioned-dirs the default, as I think we might want to have a separate discussion about this.

As I'm not clear on the following question:
Once it's the default, should --versioned-dirs be a no-op flag, or should the user still be able to DEactivate that feature? Depending on the answer, we can or can't remove the decision-code I added.


if packages.contains_key(&first.id) {
package_filenames.insert(Cow::Borrowed(first.name.as_str()), *first);
// If we use versioned-dirs, we insert all packages with a versioned filename
Copy link
Member

Choose a reason for hiding this comment

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

Ah yes...I should have double checked this. It's not surprising this logic needed to change.

@cgwalters
Copy link
Member

I have not (yet) made --versioned-dirs the default, as I think we might want to have a separate discussion about this.

Yeah agree.

@cgwalters cgwalters merged commit fd1a1fe into coreos:main Oct 21, 2024
6 checks passed
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