RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1694041 - dnf list plugins command missing
Summary: dnf list plugins command missing
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dnf
Version: ---
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jaroslav Mracek
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-29 10:58 UTC by Pavel Moravec
Modified: 2021-07-10 03:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-02 18:14:11 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4278891 0 Learn more None How to list all or enabled dnf plugins? 2019-07-11 07:39:16 UTC

Description Pavel Moravec 2019-03-29 10:58:30 UTC
Description of problem:
(derived from bz1643473)

dnf has plugin options

--noplugins
--enableplugin [plugin]
--disableplugin [plugin]

But there is no way to get a list of plugins. How an user can know what plugins to enable or disable, then?

Please implement a "dfn plugin list" like subcommand, that will list all plugins with:
- plugin name
- a short description
- if it is enabled or disabled now / by default

(optionally, it might be useful to be able to filter that list by enabled or by disabled plugins only - leaving on devels to decide)


Version-Release number of selected component (if applicable):
dnf-4.0.9-1.el8.noarch


How reproducible:
100%


Steps to Reproduce:
1. dnf --help | grep plugins
2. dnf plugin list


Actual results:
1. does not mention "plugin list" subcommand exists
2. the subcommand does not exist


Expected results:
1. there is such a subcommand


Additional info:

Comment 1 Jaroslav Mracek 2019-07-01 06:59:07 UTC
The information is provided for nearly all command with "-v" option. See:

Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, uploadprofile
Updating Subscription Management repositories.
DNF version: 4.2.7

Do you consider the bug report as a resolved?

Comment 2 Pavel Moravec 2019-07-02 11:30:35 UTC
(In reply to Jaroslav Mracek from comment #1)
> The information is provided for nearly all command with "-v" option. See:
> 
> Loaded plugins: builddep, changelog, config-manager, copr, debug,
> debuginfo-install, download, generate_completion_cache, needs-restarting,
> playground, product-id, repoclosure, repodiff, repograph, repomanage,
> reposync, subscription-manager, uploadprofile
> Updating Subscription Management repositories.
> DNF version: 4.2.7
> 
> Do you consider the bug report as a resolved?

How can I get list of disabled plugins? Or all of them? This list "just" enabled ones, no?

(well maybe one might do a trick with 'dnf updateinfo --enableplugin="*" -v' and comparing with 'dnf updateinfo -v'  (updateinfo can be replaced by any subcmd), but that sounds rather a workaround trick than user-convenient solution; anyway for my personal purposes it is sufficient - if devels think so as well I am ok in closing the BZ in favour of fixing more important issues with dnf)

Comment 3 Jaroslav Mracek 2019-07-02 18:14:11 UTC
Thanks for understanding.

Comment 4 Peter Ajamian 2021-07-10 03:38:02 UTC
It would be nice to have this feature eventually, but I would agree that it's very low priority at best.  Would it be appropriate to reopen this ticket but change it to Fedora Rawhide DNF, get it added there, and let it eventually trickle down to a future release of RHEL?


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