Use /etc/distro.repos.d as default reposdir
Change the default repository configuration directory to use /etc/distro.repos.d.
- Name: Neal Gompa
- Email: firstname.lastname@example.org
- Name: Jan Silhan
- Email: jsilhan at fedoraproject dot org
- Release notes owner:
- Last updated: 2016-05-10
- Targeted release: Fedora 25
- Tracker bug: <will be assigned by the Wrangler>
For DNF 2.0 in Fedora 25, the DNF team would like to move the default repository configuration directory from /etc/yum.repos.d to /etc/distro.repos.d.
The location more accurately reflects the nature of the repositories, and also implies that other tools can look here for repository information.
Benefit to Fedora
This directory path implies that the repositories are consumable by more than Yum, and other tools that can consume repo files can use it. Other package managers that can read this data (such as PackageKit) would also obviously use this location.
- Proposal owners:
- DNF already supports /etc/distro.repos.d, so nothing needs to be done here.
- Other developers:
- PackageKit's Hif backend will need to change to use the new path.
- fedora-repos needs to change to the new path.
- Release engineering: N/A
- List of deliverables: N/A (Not needed for this Change)
- Policies and guidelines:
- Packages containing repository configuration will need to change to store repo files in /etc/distro.repos.d.
- Trademark approval: N/A (not needed for this Change)
- While DNF will still read /etc/yum.repos.d, PackageKit will not, so repository packages that install to /etc/yum.repos.d need to move to the new path for F25 updates.
How To Test
1. Install or upgrade to Fedora 25
2. Ensure repo configs are in /etc/distro.repos.d
3. Add a repo in that directory and see if it is recognized and used.
Users may notice that system and COPR repository configuration have moved to /etc/distro.repos.d.
- Contingency mechanism: Revert to using /etc/yum.repos.d
- Contingency deadline: Beta freeze
- Blocks release? No
- Blocks product? N/A
With Fedora 25, repositories are now written to /etc/distro.repos.d instead of the older /etc/yum.repos.d.