Bug 1218071 - No API to enable/run plugins
Summary: No API to enable/run plugins
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Fedora Extras Quality Assurance
Keywords: Triaged
Depends On:
TreeView+ depends on / blocked
Reported: 2015-05-04 07:52 UTC by Michael Mráka
Modified: 2016-10-04 19:13 UTC (History)
8 users (show)

Clone Of:
Last Closed: 2016-07-22 08:44:59 UTC

Attachments (Terms of Use)

Description Michael Mráka 2015-05-04 07:52:44 UTC
Description of problem:
When using dnf API (namely dnf.Base) it does not run plugins and there's no way how to run them from API.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 1 Radek Holy 2015-05-04 11:40:04 UTC
As a developer of DNF, you should know that we insist on reporting some use cases. Also setting "high" severity probably needs some explanation.

Comment 2 Michael Mráka 2015-05-05 13:20:48 UTC
Use case:
Spacewalk plugin has a command rhn_check which runs regularly and checks whether an administrator has scheduled (on Spacewalk server) an action for this client.
If so it calls yum/dnf API to install/upgrade the package. To be able to do that it need to enable plugins.

Comment 3 Jan Kurik 2015-07-15 14:12:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:

Comment 5 Igor Gnatenko 2016-07-22 08:44:59 UTC
Fixed as part of DNF 2.0 release which will be available at some point soon.

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