Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1938340 - [rfe] Option to show repository priorities in dnf repolist
Summary: [rfe] Option to show repository priorities in dnf repolist
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 34
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: dnf-community
TreeView+ depends on / blocked
 
Reported: 2021-03-12 20:14 UTC by Thiago Sueto
Modified: 2021-03-15 12:20 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Comparison zypper repos dnf repolist (240.84 KB, image/png)
2021-03-12 20:33 UTC, Thiago Sueto
no flags Details

Description Thiago Sueto 2021-03-12 20:14:02 UTC
The current output of dnf repolist shows no priorities and dnf does not seem to have a flag for showing priorities.

The ability to show repository priorities would be a nice fit for bug 1938338 and would make dnf repolist a convenient way to verify the expected default behavior of updates, as those follow set priorities.

This functionality would be more suitable as a new --priority flag rather than be added to the default output, as the output of dnf repolist is pretty clean and not every user might want to see priorities by default.

Zypper does something similar:
zypper repos --priority

Comment 1 Thiago Sueto 2021-03-12 20:33:19 UTC
Created attachment 1763077 [details]
Comparison zypper repos dnf repolist


Note You need to log in before you can comment on or make changes to this bug.