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

repoquery: Fix loading filelists when -f is used (RhBug:2276012) #2083

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

jan-kolarik
Copy link
Member

@jan-kolarik jan-kolarik commented Apr 19, 2024

When -f option is used, the argument is stored in the opts.file instead of the opts.key. We need to load filelists also in this case.

Note: this is working correctly in dnf5.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2276012
Tests: rpm-software-management/ci-dnf-stack#1488

When `-f` option is used, the argument is stored in the `opts.file` instead of the `opts.key`. We need to load filelists also in this case.

= changelog =
msg: repoquery: Fix loading filelists when -f is used
type: bugfix
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2276012
Copy link
Member

@m-blaha m-blaha left a comment

Choose a reason for hiding this comment

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

Thank you!

@m-blaha m-blaha merged commit 24a461b into master Apr 19, 2024
8 of 11 checks passed
@m-blaha m-blaha deleted the jkolarik/fix-filelists-for-repoquery-f branch April 19, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants