m (moved Purging orphaned packages to Retire orphaned packages: The process that is described actually means that the packages are retired and not just blocked from Koji or whatever purging might mean.) |
(Redirect Package Maintainer wiki links to docs.fp.o) |
||
(19 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{admon/important|This page is deprecated| All Fedora Release Engineering Documentation has moved [https://docs.pagure.org/releng/ here] with source hosted along side the code in the [https://pagure.io/releng releng pagure repository]}} | |||
== Description == | == Description == | ||
Every release prior to the Feature Freeze | Every release prior to the [[Schedule|Feature Freeze/Branching]] Release Engineering retires [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Orphaning_Process/ orphaned packages]. This keeps out unowned software and prevents future problems down the road. | ||
== Action == | == Action == | ||
Line 7: | Line 9: | ||
# Detecting a list of orphans and the dependencies that will be broken if the orphans are removed. | # Detecting a list of orphans and the dependencies that will be broken if the orphans are removed. | ||
# Sending the list of potential orphans to devel@lists.fedoraproject.org for community review and removal from the orphan list. | # Sending the list of potential orphans to devel@lists.fedoraproject.org for community review and removal from the orphan list. | ||
# | # Retriring packages nobody wants to adopt. | ||
=== Detecting Orphans === | === Detecting Orphans === | ||
A script called <code> | A script called <code>find_unblocked_orphans.py</code> assists in the detection process. It should be run on a machine that has <code>koji</code> and <code>python-fedora</code> installed. It runs without options and takes a while to complete. | ||
<code> | <code>find_unblocked_orphans.py</code> is available in the [https://fedorahosted.org/rel-eng/browser/scripts/find_unblocked_orphans.py|Release Engineering git repository]. | ||
=== Announcing Packages to be | === Announcing Packages to be retired === | ||
<code> | <code>find_unblocked_orphans.py</code>outputs text to stdout on the command line in a form suitable for the body of an email message. | ||
<pre> | <pre> | ||
Line 23: | Line 25: | ||
</pre> | </pre> | ||
Email the output to the development list (devel@lists.fedodraproject.org) at least a | Email the output to the development list (devel@lists.fedodraproject.org) at least a month before the feature freeze, send mails with updated lists as necessary. This gives maintainers an opportunity to pick up orphans that are important to them or are required by other packages. | ||
=== Retiring Orphans === | |||
Once maintainers have been given an opportunity to pick up orphaned packages, the remaining packages are [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Retirement_Process/ retired]. | |||
==== Bugs ==== | |||
This procedure probably leaves open bugs for the d packages behind. It is not within the scope of releng to take care of these. If bugs are closed, only bugs targeted at Rawhide should be affected, since other branches might still be maintained. | |||
== Verification == | == Verification == | ||
Line 65: | Line 38: | ||
<pre> | <pre> | ||
$ koji latest-pkg dist- | $ koji latest-pkg dist-f21 wdm | ||
</pre> | </pre> | ||
Line 71: | Line 44: | ||
== Consider Before Running == | == Consider Before Running == | ||
Generally we | Generally we retire anything that doesn't leave broken dependencies. If there are orphans whose removal would result in broken dependencies a second warning should be sent to devel@lists.fedoraproject.org and to <package>-owner@fedoraproject.org for each dependent package. | ||
Allow another couple of days for maintainers to take notice and fix | Allow another couple of days for maintainers to take notice and fix these package so the package repository can be maintained without broken dependencies or needing to the package. It is not good to have broken package dependencies in our package repositories so every effort should be made to find owners or to fix the broken dependencies. | ||
[[Category:Release Engineering SOPs]] | [[Category:Release Engineering SOPs]] |
Latest revision as of 20:28, 2 October 2021
Description
Every release prior to the Feature Freeze/Branching Release Engineering retires orphaned packages. This keeps out unowned software and prevents future problems down the road.
Action
The orphan process takes place in stages:
- Detecting a list of orphans and the dependencies that will be broken if the orphans are removed.
- Sending the list of potential orphans to devel@lists.fedoraproject.org for community review and removal from the orphan list.
- Retriring packages nobody wants to adopt.
Detecting Orphans
A script called find_unblocked_orphans.py
assists in the detection process. It should be run on a machine that has koji
and python-fedora
installed. It runs without options and takes a while to complete.
find_unblocked_orphans.py
is available in the Engineering git repository.
Announcing Packages to be retired
find_unblocked_orphans.py
outputs text to stdout on the command line in a form suitable for the body of an email message.
$ ./find-unblocked-orphans.py > email-message
Email the output to the development list (devel@lists.fedodraproject.org) at least a month before the feature freeze, send mails with updated lists as necessary. This gives maintainers an opportunity to pick up orphans that are important to them or are required by other packages.
Retiring Orphans
Once maintainers have been given an opportunity to pick up orphaned packages, the remaining packages are retired.
Bugs
This procedure probably leaves open bugs for the d packages behind. It is not within the scope of releng to take care of these. If bugs are closed, only bugs targeted at Rawhide should be affected, since other branches might still be maintained.
Verification
To verify that the packages were blocked correctly we can use the latest-pkg koji
action.
$ koji latest-pkg dist-f21 wdm
This should return nothing, as the wdm
package is blocked.
Consider Before Running
Generally we retire anything that doesn't leave broken dependencies. If there are orphans whose removal would result in broken dependencies a second warning should be sent to devel@lists.fedoraproject.org and to <package>-owner@fedoraproject.org for each dependent package.
Allow another couple of days for maintainers to take notice and fix these package so the package repository can be maintained without broken dependencies or needing to the package. It is not good to have broken package dependencies in our package repositories so every effort should be made to find owners or to fix the broken dependencies.