Bug 1848615 - dnf numeric variable substitutions are undocumented
Summary: dnf numeric variable substitutions are undocumented
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dnf
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.0
Assignee: Marek Blaha
QA Contact: Radek Bíba
Depends On:
TreeView+ depends on / blocked
Reported: 2020-06-18 15:51 UTC by Davide Cavalca
Modified: 2020-11-04 01:53 UTC (History)
5 users (show)

Fixed In Version: dnf-4.2.23-3.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-11-04 01:53:17 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:4510 0 None None None 2020-11-04 01:53:22 UTC

Description Davide Cavalca 2020-06-18 15:51:46 UTC
https://dnf.readthedocs.io/en/latest/conf_ref.html#repo-variables documents the use of substitution variables like DNF_VAR_foo, but it doesn't mention numeric variables (like DNF0 / DNF1) at all. The only actual mention I found is in https://github.com/rpm-software-management/dnf/blob/c438466a239175fc4ad61b7607d80378a56b7b3f/tests/conf/test_substitutions.py

For reference, the substitutions logic is here: https://github.com/rpm-software-management/dnf/blob/c438466a239175fc4ad61b7607d80378a56b7b3f/dnf/conf/substitutions.py

Comment 2 Marek Blaha 2020-07-14 07:12:17 UTC
PR https://github.com/rpm-software-management/dnf/pull/1637 enhances repo variables documentation

Comment 10 errata-xmlrpc 2020-11-04 01:53:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (yum bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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