From Fedora Project Wiki

(update step 5 to include marking package as obsolete in pkgdb and explain RetiredPackage page is obsolete)
Line 9: Line 9:
# <code>cvs rm</code> all the other files in the <code>foo/*</code> branches that you added <code>dead.package</code> 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.)
# <code>cvs rm</code> all the other files in the <code>foo/*</code> branches that you added <code>dead.package</code> 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.)
# Remove the package from [[PackageMaintainers/CompsXml| comps]]  if it is listed.
# Remove the package from [[PackageMaintainers/CompsXml| comps]]  if it is listed.
# Mark the package as "retired" on [[PackageMaintainers/RetiredPackages | Retired Packages]] . Do not mark the package this way if it is just being renamed in some but not all distro branches.
# Mark the package as "retired" in [https://admin.fedoraproject.org/pkgdb 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 [[PackageMaintainers/RetiredPackages | Retired Packages]] you can update if you choose, but it is now considered mostly obsoleted by the package database system.
# File a [https://fedorahosted.org/rel-eng/newticket ticket] for rel-eng asking the package to be blocked from the appropriate collections in which it is retired.
# File a [https://fedorahosted.org/rel-eng/newticket ticket] for rel-eng asking the package to be blocked from the appropriate collections in which it is retired.


[[Category:Package Maintainers]]
[[Category:Package Maintainers]]

Revision as of 17:16, 5 October 2009

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. Add a dead.package file to CVS in affected foo/* branches (usually foo/devel only). The contents of this file should briefly explain where this package went: 'Obsolete package.', 'Renamed to bar' or the like.
  3. cvs 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 asking the package to be blocked from the appropriate collections in which it is retired.