From Fedora Project Wiki
(→‎No fedora-repos-modular in default installation: add note about the newer change RetireModularity)
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Turn off modular dnf repos by default =
= No fedora-repos-modular in default installation =
 


{{Change_Proposal_Banner}}


== Summary ==
== Summary ==
This change is to no longer enable the yum modular repos in Fedora installations by default.
No longer include `fedora-repos-modular` in default installations.
 
Note: this Change was effectively extended and superseded by [[Changes/RetireModularity]].


== Owner ==
== Owner ==
Line 18: Line 20:


== Current status ==
== Current status ==
[[Category:ChangePageIncomplete]]
[[Category:ChangeAcceptedF39]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 35: Line 37:
ON_QA -> change is fully code complete
ON_QA -> change is fully code complete
-->
-->
* [<will be assigned by the Wrangler> devel thread]
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Q6SXTZRPCSPHKTCKRHSOCFLUFKK4IKEX/ devel thread]
* FESCo issue: <will be assigned by the Wrangler>
* FESCo issue: [https://pagure.io/fesco/issue/3007 #3007]
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2216762 #2216762]
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/994 #994]


== Detailed Description ==
== Detailed Description ==
The main motivation for this change is to improve the everyday user experienced speed of dnf.
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
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 UX problem.
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.
The proposed solution is just not to install the Fedora modular repo configurations any more by default.


Line 52: Line 54:
== Benefit to Fedora ==
== Benefit to Fedora ==
This change will improve the user experience when updating or installing packages
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.
since the less-used yum modular repos will no longer be on by default for all users.
 
(cf [https://web.dev/why-speed-matters/ why-speed-matters])


== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners:
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
** update F39 comps @core group to not install fedora-repos-modular by default
** update F39 comps @core group to not install fedora-repos-modular by default ([https://pagure.io/fedora-comps/pull-request/849 PR merged])
** update fedora-container-base.ks to not install fedora-repos-modular
** update fedora-container-base.ks to not install fedora-repos-modular ([https://pagure.io/fedora-kickstarts/pull-request/966 PR merged])
** update fedora-common-ostree-pkgs.yaml to not install fedora-repos-modular
** update fedora-common-ostree-pkgs.yaml to not install fedora-repos-modular ([https://pagure.io/workstation-ostree-config/pull-request/389 PR merged])
** propose Fedora coreos also drops fedora-repos-modular
** propose Fedora coreos also drops fedora-repos-modular ([https://github.com/coreos/fedora-coreos-config/pull/2508 PR merged])


* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
Line 66: Line 70:
** Spin owners may want to check on any possible impact on their release artifacts
** Spin owners may want to check on any possible impact on their release artifacts


* Release engineering: [https://pagure.io/releng/issues #Releng issue number] <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Release engineering: [https://pagure.io/releng/issue/11426 #11426] <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuild required?  include a link to the releng issue.  
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuild required?  include a link to the releng issue.  
The issue is required to be filed prior to feature submission, to ensure that someone is on board to do any process development work and testing and that all changes make it into the pipeline; a bullet point in a change is not sufficient communication -->
The issue is required to be filed prior to feature submission, to ensure that someone is on board to do any process development work and testing and that all changes make it into the pipeline; a bullet point in a change is not sufficient communication -->
Line 83: Line 87:


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


Line 96: Line 100:
Users of new Fedora installations will no longer have the Fedora modular repos setup and enabled by default,
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.
resulting in a noticeable speed up executing dnf commands.
They can install fedora-repos-modular to active the modular repos on their system.
They can install fedora-repos-modular to activate the modular repos on their system.


<!-- If this change proposal is noticeable by users, how will their experiences change as a result?
<!-- If this change proposal is noticeable by users, how will their experiences change as a result?
Line 121: Line 125:
** Change owner(s) will revert the changes and re-enable the modular repos as needed
** Change owner(s) will revert the changes and re-enable the modular repos as needed
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
* Contingency deadline: beta freeze
* Contingency deadline: Beta freeze
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
* Blocks release? No <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Blocks release? No <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->


== Documentation ==
== Documentation ==
Line 137: Line 140:
Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze.  
Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze.  
-->
-->
* The Fedora modular repos are no longer setup by default as of Fedora Linux 39.
* 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`.
* Users can easily enable them with by installing the `fedora-repos-modular` package.

Latest revision as of 13:45, 4 August 2023

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.