From Fedora Project Wiki
mNo edit summary
(urlgrabber has been ported, update page)
 
(13 intermediate revisions by 2 users not shown)
Line 43: Line 43:


== Current status ==
== Current status ==
* Targeted release: [[Releases/30 | Fedora 30 ]]  
* Targeted release: [[Releases/31 | Fedora 31 ]]  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Line 53: Line 53:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1682910 #1682910]
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/304 #304]


== Detailed Description ==
== Detailed Description ==
Line 63: Line 64:
* yum-metadata-parser
* yum-metadata-parser
* yum-updatesd
* yum-updatesd
* python-urlgrabber


All these packages should no longer be used by the end-user, and all software using them should be migrated to DNF.
All these packages should no longer be used by the end-user, and all software using them should be migrated to DNF.
Note that we intentionally omit the `python2-urlgrabber` package from the list, although it is also part of the YUM stack. <strike>While it should eventually go away too (or be [https://github.com/rpm-software-management/urlgrabber/pull/8 ported to Python 3]), it is still heavily used by the Fedora infrastructure (such as by `sigul`, `imagefactory` or `koji-containerbuild`). We will propose its removal (if not ported in time) for Fedora 31 instead.</strike> It has been ported to Python 3 [https://github.com/rpm-software-management/urlgrabber/releases/tag/urlgrabber-4-0-0 in version 4.0.0].


Compatibility:
Compatibility:
* Important packages such as ''yum'', ''createrepo'' or ''yum-utils'' will be provided/obsoleted by relevant packages from the DNF stack
* Important packages such as `yum`, `createrepo` or `yum-utils` will be provided/obsoleted by relevant packages from the DNF stack
* Important executables such ''/usr/bin/yum'', ''/usr/bin/repoquery'' or ''/usr/bin/createrepo'' will be provided either as new executables or symlinks to the respective DNF-based counterparts
* Important executables such `/usr/bin/yum`, `/usr/bin/repoquery` or `/usr/bin/createrepo` will be provided either as new executables or symlinks to the respective DNF-based counterparts


== Benefit to Fedora ==
== Benefit to Fedora ==
Line 93: Line 95:


== How To Test ==
== How To Test ==
''repoclosure'' passes after dropping the packages.
`repoclosure` passes after dropping the packages.


== User Experience ==
== User Experience ==
Line 102: Line 104:
The list of source packages (SRPMs) that still depend on (some parts of) the YUM stack:
The list of source packages (SRPMs) that still depend on (some parts of) the YUM stack:


* cas
** bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1603617
** requires: python2-urlgrabber
** rpms: cas
* cobbler
* cobbler
** bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1156552
** tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156552
** requires: createrepo, python2-urlgrabber
** requires: createrepo
** rpms: cobbler, koan
** rpms: cobbler
* ddiskit
* ddiskit
** bugzilla: N/A
** tracker: N/A
** requires: createrepo
** requires: createrepo
** rpms: ddiskit
** rpms: ddiskit
* diskimage-builder
* diskimage-builder
** bugzilla: N/A
** tracker: N/A
** requires: yum-utils
** requires: yum-utils
** rpms: diskimage-builder
** rpms: diskimage-builder
* dlrn
* dlrn
** bugzilla: N/A
** tracker: N/A
** requires: createrepo
** requires: createrepo
** rpms: python3-dlrn
** rpms: python3-dlrn
* fusioninventory-agent
* fusioninventory-agent
** bugzilla: N/A
** tracker: N/A
** requires: yum
** requires: yum
** rpms: fusioninventory-agent-yum-plugin
** rpms: fusioninventory-agent-yum-plugin
* grinder
* grinder
** bugzilla: N/A
** tracker: N/A
** requires: createrepo
** requires: createrepo
** rpms: grinder
** rpms: grinder
* imagefactory
** bugzilla: N/A
** requires: python2-urlgrabber
** rpms: imagefactory
* kiwi
* kiwi
** bugzilla: N/A
** tracker: N/A
** requires: yum
** requires: yum
** rpms: kiwi-systemdeps
** rpms: kiwi-systemdeps
* koji
* koji
** issue: https://pagure.io/koji/issue/971
** tracker: https://pagure.io/koji/issue/971
** requires: createrepo
** requires: createrepo
** rpms: koji-builder
** rpms: koji-builder
* koji-containerbuild
** bugzilla: N/A
** requires: python2-urlgrabber
** rpms: koji-containerbuild-builder
* mach
* mach
** bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1156528
** tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156528
** requires: createrepo, yum
** requires: createrepo, yum
** rpms: mach
** rpms: mach
* mash
* mash
** bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1156546
** tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156546
** requires: createrepo, yum
** requires: createrepo, yum
** rpms: mash
** rpms: mash
* nagios-plugins-check-updates
* nagios-plugins-check-updates
** bugzilla: N/A
** tracker: N/A
** requires: yum
** requires: yum
** rpms: nagios-plugins-check-updates
** rpms: nagios-plugins-check-updates
* osc
** bugzilla: N/A
** requires: python2-urlgrabber
** rpms: osc
* perl-Fedora-Rebuild
* perl-Fedora-Rebuild
** bugzilla: N/A
** tracker: N/A
** requires: createrepo
** requires: createrepo
** rpms: perl-Fedora-Rebuild
** rpms: perl-Fedora-Rebuild
* plague
* plague
** bugzilla: N/A
** tracker: N/A
** requires: createrepo
** requires: createrepo
** rpms: plague
** rpms: plague
* pungi
* pungi
** bugzilla: N/A
** tracker: N/A
** requires: createrepo, yum, yum-utils
** requires: createrepo, yum, yum-utils
** rpms: pungi-legacy
** rpms: pungi-legacy
* repo_manager
* repo_manager
** bugzilla: N/A
** tracker: N/A
** requires: createrepo
** requires: createrepo
** rpms: repo_manager
** rpms: repo_manager
* repoview
* repoview
** bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1156505
** tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156505
** requires: yum
** requires: yum
** rpms: repoview
** rpms: repoview
* sigul
** bugzilla: N/A
** requires: python2-urlgrabber
** rpms: sigul-bridge
* snake
* snake
** bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1156539
** tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156539
** requires: yum
** requires: yum
** rpms: snake
** rpms: snake
* system-config-kickstart
* system-config-kickstart
** bugzilla: N/A
** tracker: N/A
** requires: yum
** requires: yum
** rpms: system-config-kickstart
** rpms: system-config-kickstart
* yum-axelget
* yum-axelget
** bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1341140
** tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1341140
** requires: yum, yum-plugin-fastestmirror
** requires: yum, yum-plugin-fastestmirror
** rpms: yum-axelget
** rpms: yum-axelget
* yum-rhn-plugin
* yum-rhn-plugin
** bugzilla: N/A (package was recently retired but no compose happened since)
** tracker: N/A (package was recently retired but no compose happened since)
** requires: yum
** requires: yum
** rpms: yum-rhn-plugin
** rpms: yum-rhn-plugin


Updated: 2019-01-28
Updated: 2019-02-02


Generated with:
Generated with:
https://gist.github.com/dmnks/787b121503ba1e9d1565d58b4a4e3a62
https://gist.github.com/dmnks/787b121503ba1e9d1565d58b4a4e3a62
<pre>$ python3 deps.py createrepo yum yum-langpacks yum-utils yum-metadata-parser yum-updatesd python-urlgrabber</pre>
<pre>$ python3 deps.py createrepo yum yum-langpacks yum-utils yum-metadata-parser yum-updatesd</pre>


== Contingency Plan ==
== Contingency Plan ==
Line 221: Line 203:
Inform end-users about removing the YUM 3 stack and the definitive migration to DNF.
Inform end-users about removing the YUM 3 stack and the definitive migration to DNF.


[[Category:ChangeAnnounced]]
[[Category:ChangeAcceptedF31]]
<!-- 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 -->

Latest revision as of 10:14, 26 February 2019


Retire YUM 3

Summary

Remove the YUM (version 3) package manager stack from Fedora.

Owner

Current status

Detailed Description

Remove the following packages from the distribution:

  • createrepo
  • yum
  • yum-langpacks
  • yum-utils
  • yum-metadata-parser
  • yum-updatesd

All these packages should no longer be used by the end-user, and all software using them should be migrated to DNF.

Note that we intentionally omit the python2-urlgrabber package from the list, although it is also part of the YUM stack. While it should eventually go away too (or be ported to Python 3), it is still heavily used by the Fedora infrastructure (such as by sigul, imagefactory or koji-containerbuild). We will propose its removal (if not ported in time) for Fedora 31 instead. It has been ported to Python 3 in version 4.0.0.

Compatibility:

  • Important packages such as yum, createrepo or yum-utils will be provided/obsoleted by relevant packages from the DNF stack
  • Important executables such /usr/bin/yum, /usr/bin/repoquery or /usr/bin/createrepo will be provided either as new executables or symlinks to the respective DNF-based counterparts

Benefit to Fedora

Drop an old package manager that has no active upstream community. Move existing users to DNF that is under active development. Secondary benefit is reducing the number of packages in Fedora that still depend on Python 2.

Scope

  • Proposal owners: Remove the packages listed in the Detailed Description section from the distribution
  • Other developers: Either remove the depending packages from the distribution or port them to the DNF stack
  • Release engineering: #7588
  • Policies and guidelines: N/A
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

Any tool based on the YUM 3 Python API will stop working. This applies on any 3rd party software which won't be changed in Fedora as part of this change. CLI compatibility will be provided by DNF.

How To Test

repoclosure passes after dropping the packages.

User Experience

There shouldn't be any impact on the YUM users because the package management functionality is provided by DNF already. Users of tools listed in the Dependencies section shouldn't see any difference if the migration to DNF is done properly.

Dependencies

The list of source packages (SRPMs) that still depend on (some parts of) the YUM stack:

Updated: 2019-02-02

Generated with: https://gist.github.com/dmnks/787b121503ba1e9d1565d58b4a4e3a62

$ python3 deps.py createrepo yum yum-langpacks yum-utils yum-metadata-parser yum-updatesd

Contingency Plan

  • Contingency mechanism: Do not remove the packages in the current release.
  • Contingency deadline: Beta Freeze
  • Blocks release? No
  • Blocks product? No

Documentation

N/A

Release Notes

Inform end-users about removing the YUM 3 stack and the definitive migration to DNF.