From Fedora Project Wiki

Revision as of 08:56, 6 May 2011 by Nsoranzo (talk | contribs) (Update link)

When a package reaches the end of its useful life, the following steps will let other people -- and automated processes! -- know both not to expect any more releases, and why it was removed. The process is simple.

For this example, we'll remove the package foo.

  1. Make sure the package is properly Obsoleted/Provided by something if it is being replaced, see Renaming/Replacing Guidelines.
  2. Run fedpkg retire. This will add a dead.package file to git. Do it for all affected foo branches (usually master only, but also the branched release if it has not yet released). The contents of this file should briefly explain where this package went: 'Obsolete package.', 'Renamed to bar' or the like.
  3. git rm all the other files in the foo branches that you added dead.package to. This should help make it clearly obvious what's going on here. It's not necessary to remove the files in other branches, unless there are other factors at work. (e.g., licensing issue, package being removed completely from Fedora.)
  4. Remove the package from comps if it is listed.
  5. Mark the package as "retired" in the package database system: log in with your FAS credentials, go to the page for your package, and click the Retire package button for each branch on which you are retiring the package. There is also a Wiki list of Retired Packages you can update if you choose, but it is now considered mostly obsoleted by the package database system.
  6. File a ticket for rel-eng (component koji) asking the package to be blocked from the appropriate collections in which it is retired.