BMO/RetiringComponents

From MozillaWiki
< BMO
Jump to: navigation, search
Note: This page is for bugzilla.mozilla.org administrators. If you want a component removed, please follow the steps in Bugzilla Clean Up

Products and components aren't deleted from Bugzilla, since the records of their bugs or the work done on them may be useful. Instead, usually they are changed to disable the creation of new bugs in their category. They can also be moved to a "Graveyard" area.

An entire product can be moved to the "Graveyard" classification easily by someone who has the editclassifications permission.

For a component to be retired from a still-active product: make a new product in the Graveyard classification that matches the still existing product, then ask IT to run move_bugs, and then contrib/reorg-tools/syncmsandversions.pl to autocreate the versions and milestones.

How to move components to the "Graveyard" classification in Bugzilla

Preparation

  1. Check for open bugs in the component. Resolve them.
  2. Create the new product, for example "Boot2Gecko Graveyard" if it doesn't yet exist, and make sure new bugs cannot be filed in the graveyard product.
  3. Find out which flags are enabled for the old product/component by going to editflagtypes.cgi and filtering the flag list based on the product/component using the drop down menus.
  4. Go to each flag needed to be preserved, and add the new Graveyard product to the inclusion list.
  5. Enable the same groups for the new Graveyard product so private bugs remain private.

Moving a small number of bugs (eg. fewer than 10)

  1. Create the new component under the Graveyard product. Preferably with the same name, description, users, etc.
  2. Use the mass edit form for buglist.cgi (this will generate bugmail)
  3. Delete the old component.

Moving a component into the Graveyard

This is the most common situation, where an entire component needs to be graveyarded and it doesn't exist yet in the graveyard

  1. Create/Move the bug into bugzilla.mozilla.org::infrastructure with the following instructions:
    • This example is for moving Boot2Gecko Gaia:Calculator to Boot2Gecko Graveyard)
    • cd to the web root for BMO
    • perl contrib/reorg-tools/syncmsandversions.pl Boot2Gecko "Boot2Gecko Graveyard"
    • perl contrib/reorg-tools/movecomponent.pl "Boot2Gecko" "Boot2Gecko Graveyard" "Gaia::Calculator"
  2. Once completed, the bug can be resolved/fixed

Moving bugs into a component which already exists in the Graveyard

These steps are required to move bugs into an existing component

  1. Create/Move the bug into bugzilla.mozilla.org::infrastructure with the following instructions:
    • This example is for moving Boot2Gecko Gaia:Calculator to Boot2Gecko Graveyard)
    • cd to the web root for BMO
    • perl contrib/reorg-tools/syncmsandversions.pl Boot2Gecko "Boot2Gecko Graveyard"
    • perl contrib/reorg-tools/movebugs.pl "Boot2Gecko" "Gaia::Calculator" "Boot2Gecko Graveyard" "Gaia::Calculator"
  2. Once completed, the move the bug back to the "Administration" component
  3. Delete the old component and mark the bug as resolved/fixed