Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Add enviroment variables and clarify options for loading the plugins #1449

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions doc/dnf5.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Following options are applicable in the general context for any ``dnf5`` command
| Data are saved in ``./debugdata``.

``--disable-plugin=PLUGIN_NAME,...``
| Disable specified plugins for the purpose of the current ``DNF5`` command.
| Disable specified libdnf5 library plugins for the purpose of the current ``DNF5`` command.
| This is a list option which can be specified multiple times.
| Accepted values are names, or a glob of names.

Expand All @@ -227,7 +227,7 @@ Following options are applicable in the general context for any ``dnf5`` command
| Print variable values to stdout.

``--enable-plugin=PLUGIN_NAME,...``
| Enable specified plugins for the purpose of the current ``DNF5`` command.
| Enable specified libdnf5 library plugins for the purpose of the current ``DNF5`` command.
| This is a list option which can be specified multiple times.
| Accepted values are names, or a glob of names.

Expand Down Expand Up @@ -263,7 +263,7 @@ Following options are applicable in the general context for any ``dnf5`` command
| Skip checking GPG signatures on packages (if ``RPM`` policy allows that).

``--no-plugins``
| Disable all plugins.
| Disable all libdnf5 plugins.

``-q, --quiet``
In combination with a non-interactive command, shows just the relevant content.
Expand Down Expand Up @@ -389,6 +389,17 @@ Files
/usr/lib/sysimage/libdnf5/


Environment
===========

``DNF5_PLUGINS_DIR``
Override a directory with DNF5 application plugins. Set it to an empty
string to disable loading the application plugins.

``LIBDNF_PLUGINS_CONFIG_DIR``
Override a directory with libdnf5 plugin's configuration files.


See Also
========

Expand Down
Loading