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 by an installation reason #1684

Open
ppisar opened this issue Sep 9, 2024 · 0 comments
Open

repoquery by an installation reason #1684

ppisar opened this issue Sep 9, 2024 · 0 comments
Labels
Priority: LOW RFE Request For Enhancement (as opposed to a bug) Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@ppisar
Copy link
Contributor

ppisar commented Sep 9, 2024

dnf5 repoquery --userinstalled mixes user-installed, group-installed, profile-installed, and uknown-reason-installed packages. There is no way to list packages by the exact installation reason (e.g. by "User" reason which is what DNF4 did with --userinstalled. Currently, the user can list all packages with dnf repoquery --installed --qf '%{name} {%reason}\n' and then grep the output.

I propose a new repoquery option, e.g. --reason={user|dependency|group|unknown|weak} to limit package set to the given reason. The identifiers should follow dnf mark values.

See https://bugzilla.redhat.com/show_bug.cgi?id=2308842.

@ppisar ppisar added RFE Request For Enhancement (as opposed to a bug) Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: LOW RFE Request For Enhancement (as opposed to a bug) Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
None yet
Development

No branches or pull requests

1 participant