Bug 1218071 - No API to enable/run plugins
Summary: No API to enable/run plugins
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
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)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-22 08:44:59 UTC
Type: Bug
Embargoed:


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):
dnf-0.6.5-1.fc23.noarch

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

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:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

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.