forked from rpm-software-management/mock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And while on it, unify the `system_PM_command` with the rest of PM-specific commands. Fixes: rpm-software-management#1271
- Loading branch information
Showing
6 changed files
with
93 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
releng/release-notes-next/dnf4-config-is-alias-to-dnf.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Alias `dnf4` added for the `package_manager = dnf`. | ||
|
||
The options specific to DNF4, previously prefixed with `dnf_*`, have been | ||
renamed to `dnf4_*` too to avoid confusion with `dnf5_*` options. For backward | ||
compatibility, the `dnf_*` prefixed variants still work, so these config pairs | ||
are equivalent: | ||
|
||
```python | ||
config_opts['dnf4_install_cmd'] = 'install python3-dnf python3-dnf-plugins-core' | ||
config_opts['dnf_install_cmd'] = 'install python3-dnf python3-dnf-plugins-core' | ||
|
||
config_opts['package_manager'] = 'dnf4' | ||
config_opts['package_manager'] = 'dnf' | ||
``` | ||
|
||
Some of the `dnf_*` options remain unchanged because they are universal and used | ||
with DNF4, DNF5, or YUM, e.g., `dnf_vars`. | ||
|
||
While working on this rename, the rarely used `system_<PM>_command` options have | ||
been changed to `<PM>_system_command` to visually align with the rest of the | ||
package-manager-specific options. The old variants are still accepted. |