From Fedora Project Wiki

Revision as of 13:45, 4 August 2023 by Zbyszek (talk | contribs) (→‎No fedora-repos-modular in default installation: add note about the newer change RetireModularity)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

No fedora-repos-modular in default installation

Summary

No longer include fedora-repos-modular in default installations.

Note: this Change was effectively extended and superseded by Changes/RetireModularity.

Owner

Current status

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 latest 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 on by default for all users.

(cf why-speed-matters)

Scope

  • Proposal owners:
    • update F39 comps @core group to not install fedora-repos-modular by default (PR merged)
    • update fedora-container-base.ks to not install fedora-repos-modular (PR merged)
    • update fedora-common-ostree-pkgs.yaml to not install fedora-repos-modular (PR merged)
    • propose Fedora coreos also drops fedora-repos-modular (PR merged)
  • 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 a 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 activate 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 the fedora-repos-modular package.