From Fedora Project Wiki
No edit summary
Line 1: Line 1:
= Turn off modular dnf repos by default =
= No fedora-repos-modular in default installation =


{{Change_Proposal_Banner}}
{{Change_Proposal_Banner}}

Revision as of 09:11, 10 May 2023

No fedora-repos-modular in default installation

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.

Summary

This change is to no longer enable the yum modular repos in Fedora installations by default.

Owner

Current status

  • Targeted release: Fedora Linux 39
  • Last updated: 2023-05-10
  • [<will be assigned by the Wrangler> devel thread]
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

The main motivation for this change is to improve the everyday speed of dnf experienced by Fedora users. dnf invocations frequently check for and pull down last repo metadata and the yum modular repos which are seeing less use and content nowadays have been exasperating this problem. The proposed solution is just not to install the Fedora modular repo configurations any more by default.

Feedback

Some initial discussions: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/FOTOBY5IU32NWW6LT24DWUS6747WV4TP/

Benefit to Fedora

This change will improve the user experience when updating or installing packages since the less-used yum modular repos will no longer be turned on by default for all users.

Scope

  • Proposal owners:
    • update F39 comps @core group to not install fedora-repos-modular by default
    • update fedora-container-base.ks to not install fedora-repos-modular
    • update fedora-common-ostree-pkgs.yaml to not install fedora-repos-modular
    • propose Fedora coreos also drops fedora-repos-modular
  • Other developers:
    • Spin owners may want to check on any possible impact on their release artifacts
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Community Initiatives:

Upgrade/compatibility impact

Any existing modular repos will remain in place and updated normally. This is also the reason for not changing the modular.repo files themselves, since disabling the modular repos by default their would cause upgrades to turn off modular repos.

How To Test

  • run dnf upgrade commands etc and check that modular repos are not active, ie modular repo metadata not checked/downloaded.
  • check that fedora-repos-modular is not pre-installed.


User Experience

Users of new Fedora installations will no longer have the Fedora modular repos setup and enabled by default, resulting in a noticeable speed up executing dnf commands. They can install fedora-repos-modular to active the modular repos on their system.


Dependencies

None


Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?)
    • Change owner(s) will revert the changes and re-enable the modular repos as needed
  • Contingency deadline: beta freeze
  • Blocks release? No


Documentation

None

Release Notes

  • The Fedora modular repos are no longer setup in new installations by default as of Fedora Linux 39.
  • Users can easily enable them with by installing fedora-repos-modular.