From Fedora Project Wiki
No edit summary
No edit summary
Line 21: Line 21:


<!-- The actual name of your proposed change page should look something like: Changes/Your_Change_Proposal_Name.  This keeps all change proposals in the same namespace -->
<!-- The actual name of your proposed change page should look something like: Changes/Your_Change_Proposal_Name.  This keeps all change proposals in the same namespace -->
= Use /etc/distro.repos.d as default reposdir <!-- The name of your change proposal --> =
= Use <tt>/etc/distro.repos.d</tt> as default reposdir <!-- The name of your change proposal --> =


== Summary ==
== Summary ==
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release. -->
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release. -->
Change the default repository configuration directory to use /etc/distro.repos.d.  
Change the default repository configuration directory to use <tt>/etc/distro.repos.d</tt>.  


== Owner ==
== Owner ==

Revision as of 13:48, 9 May 2016


Use /etc/distro.repos.d as default reposdir

Summary

Change the default repository configuration directory to use /etc/distro.repos.d.

Owner

  • Name: Neal Gompa
  • Email: ngompa13@gmail.com
  • Release notes owner:

Current status

  • Last updated: 2016-05-09
  • Targeted release: Fedora 25
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

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.

Scope

  • 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.


  • 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)

Upgrade/compatibility impact

  • 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.

User Experience

Users may notice that system and COPR repository configuration have moved to /etc/distro.repos.d.

Dependencies

  • fedora-repos
  • PackageKit
  • dnf

Contingency Plan

  • Contingency mechanism: Revert to using /etc/yum.repos.d
  • Contingency deadline: Beta freeze
  • Blocks release? No
  • Blocks product? N/A

Documentation

With Fedora 25, repositories are now written to /etc/distro.repos.d instead of the older /etc/yum.repos.d.

Release Notes