From Fedora Project Wiki
No edit summary
Line 7: Line 7:
Please execute the following steps in the order indicated.
Please execute the following steps in the order indicated.


# Make sure the package is properly Obsoleted/Provided by something '''if''' it is being replaced, see [[Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages|Renaming/Replacing Guidelines]]. If not, go on to the next step.
# Asegúrese de que el paquete es obsoleto / Proporcionado por algo bien'' 'si''' está siendo reemplazada, ver  [[Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages|Cambio de nombre/sustitución Directrices]]. Si no es así, continúe con el siguiente paso.
# Run <code>fedpkg retire MSG</code>. This will recursively remove all files, then add a <code>dead.package</code> file to git and retire the package in package DB (requires fedpkg 1.13 or newer). This should be done for <code>master</code> and sometimes the branched release if it has not yet released ('''Do not''' do this for released Fedora versions as there's no way to remove the package from end-user's systems) . The MSG parameter is a message which should briefly explain where this package went ('Package obsoleted by bar', 'Renamed to bar', or the like) and will be written in the dead.package file.
# Ejecutar <code>fedpkg retire MSG </code>. Esto eliminará de forma recursiva todos los archivos, a continuación, añadir un  <code>dead.package</code> a git y retirar el paquete en el package DB (requiere fedpkg 1.13 o posterior). Esto debe hacerse para <code>maestro</code> y, a veces la liberación ramificado si aún no ha dado a conocer ('' 'No''' hacer esto para las versiones de Fedora liberados ya que no hay manera de quitar el paquete de extremo sistemas del usuario). El parámetro MSG es un mensaje que debe explicar brevemente en que este paquete fue ('paquete obsoleto en bar', 'renombrado como Bar', o similar) y se escribirá en el archivo dead.package.
 
# <code>git rm</code> all files in the other branches '''only if''' there are special factors at work, like licensing issues, or package being removed completely from Fedora.
# <code>git rm</code> all files in the other branches '''only if''' there are special factors at work, like licensing issues, or package being removed completely from Fedora.
# Remove the package from [[How_to_use_and_edit_comps.xml_for_package_groups| comps]]  if it is listed.
# Remove the package from [[How_to_use_and_edit_comps.xml_for_package_groups| comps]]  if it is listed.

Revision as of 13:51, 26 August 2013

Cuando un paquete llega al final de su vida útil, el siguiente procedimiento le permitirá a otras personas - y los procesos automatizados! - Saber tanto y no se esperan más lanzamientos, y por qué se quitó. El proceso es simple.

Proceso

Please execute the following steps in the order indicated.

  1. Asegúrese de que el paquete es obsoleto / Proporcionado por algo bien 'si' está siendo reemplazada, ver Cambio de nombre/sustitución Directrices. Si no es así, continúe con el siguiente paso.
  2. Ejecutar fedpkg retire MSG . Esto eliminará de forma recursiva todos los archivos, a continuación, añadir un dead.package a git y retirar el paquete en el package DB (requiere fedpkg 1.13 o posterior). Esto debe hacerse para maestro y, a veces la liberación ramificado si aún no ha dado a conocer ( 'No' hacer esto para las versiones de Fedora liberados ya que no hay manera de quitar el paquete de extremo sistemas del usuario). El parámetro MSG es un mensaje que debe explicar brevemente en que este paquete fue ('paquete obsoleto en bar', 'renombrado como Bar', o similar) y se escribirá en el archivo dead.package.
  1. git rm all files in the other branches only if there are special factors at work, like licensing issues, or package being removed completely from Fedora.
  2. Remove the package from comps if it is listed.
  3. Check for and remove the package from any spins kickstarts files: http://git.fedorahosted.org/git/spin-kickstarts.git
  4. Not necessary with fedpkg 1.13 or newer: Do not execute this step if you have not already completed steps 2 and 3, otherwise you will have to ask a provenpackager to perform those steps for you. 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.
  5. If the package was registered on Upstream_release_monitoring, remove it from that page
  6. File a ticket for rel-eng (component koji) asking the package (or packages if there are many) to be blocked from the appropriate collections in which it is retired. You can mention several packages in one ticket. (There is a experimental service that takes care of this, therefore please only create a ticket if the package is not blocked in koji five minutes after it has been retired in package DB). Check whether it is blocked with koji, e.g. for the package curry there should the a entry with [BLOCKED] for each branch the package was retired in:
$ koji list-pkgs  --show-blocked --tag f21 --package curry                               
Package                 Tag                     Extra Arches     Owner          
----------------------- ----------------------- ---------------- ---------------
curry                   f20                                      gemi            [BLOCKED]

EPEL

Note that you can use this process for EPEL as well with a few differences:

  • You can remove the package from any EPEL branch whether or not it has been released.
  • The component for the rel-eng ticket is epel rather than koji.

For example, if your package has been added to base RHEL in RHEL-6.4 then perform the steps above but use the el6 branch instead of master. When you open your rel-eng ticket to have the package blocked, use component epel instead of koji.