Please implement /etc/dnf/conf.d. Same as /etc/yum.conf.d. A folder where one can place drop-in configuration snippets.
use case: Editing config files such as /etc/dnf/dnf.conf with scripts / config packages is problematic for various reasons. When modifying it as a sysadmin it may later conflict with settings changed by the user. Also if dnf is updated and any changes are made to /etc/dnf/dnf.conf by dnf, these cannot be automatically merged. It will result in a /etc/dnf/dnf.conf.rpmnew file that needs to be manually resolved. It would be a lot simpler / more convenient if scripts / config packages could just drop configuration snippets into /etc/dnf/conf.d. Debian has something similar with /etc/apt/conf.d.
we can do that but it has low priority.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
https://github.com/rpm-software-management/dnf/pull/887
The feature is under implementation for DNF5. See https://github.com/rpm-software-management/dnf5/pull/741.
This feature has been implemented in DNF5 by PR: https://github.com/rpm-software-management/dnf5/pull/813 There are no plans to implement this into DNF4. Closing.