Bug 1088235 - [vote] [rfe] option to disable selected plugins
Summary: [vote] [rfe] option to disable selected plugins
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-16 09:43 UTC by Tim Lauridsen
Modified: 2015-06-30 11:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-02 05:42:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1193823 0 unspecified CLOSED [RFE] Plugins can't be disabled in config files 2021-02-22 00:41:40 UTC

Internal Links: 1193823

Description Tim Lauridsen 2014-04-16 09:43:58 UTC
Description of problem:

By default every plugins installed on the system is enabled.
It would be very useful if there was a way to disable some plugins
temporary or permanently.

a --disableplugins cmdline option is a posibillty, but a better way
is properly to add an disabled_plugins option to dnf.conf

it can be set by using --setopt disabled_plugins=plugin,plugin is a temporary disable is needed


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

Comment 1 Ales Kozumplik 2014-04-16 14:00:01 UTC
Tim, I take it it is something you'd appreciate as a plugin developer. I am however not convinced adding options like this provides enough value for specific use-cases to a regular user that would be worth the added complexity in CLI code and especially in the user documentation.

Proposing this up to CC vote with an outlook of closing this as WONTFIX.

Comment 2 Tim Lauridsen 2014-04-16 17:12:35 UTC
when plugins are bundled like in dnf-plugins-core, there is a potentiel risk that a plugin can interferre with another plugin from another package and the only workaround is to remove one of the packages contain the plugins or do dirty stuff
like renaming/deleting the plugin from the filesystem.

Personal, I can handle it, but it would be nice for other users to be able do workaround such issues, without having to remove all plugins in a package, because one is givning problems.

Comment 3 Ales Kozumplik 2014-04-17 06:45:24 UTC
(In reply to Tim Lauridsen from comment #2)
> when plugins are bundled like in dnf-plugins-core, there is a potentiel risk
> that a plugin can interferre with another plugin from another package and
> the only workaround is to remove one of the packages contain the plugins or
> do dirty stuff
> like renaming/deleting the plugin from the filesystem.

Plugins interfering is a pathological scenario, i.e. bug. It is up to us to deliver plugins bugs-free, not up to the users to pick&choose which plugins currently work to run with.

Comment 4 Tim Lauridsen 2014-05-01 10:24:45 UTC
Missed the fact that dnf already has a --disableplugin [plugin] commandline option
so fell free to close this one

Comment 5 Ales Kozumplik 2014-05-02 05:42:29 UTC
Thanks.


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