Confirmed users
1,201
edits
No edit summary |
|||
| Line 5: | Line 5: | ||
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. | 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 === | |||
# Check for open bugs in the component. Resolve them. | |||
# 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. | |||
# 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. | |||
# Go to each flag needed to be preserved, and add the new Graveyard product to the inclusion list. | |||
# Enable the same groups for the new Graveyard product so private bugs remain private. | |||
=== Moving a small number of bugs (eg. fewer than 10) === | |||
# Create the new component under the Graveyard product. Preferably with the same name, description, users, etc. | |||
# Use the mass edit form for buglist.cgi (this will generate bugmail) | |||
# 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 | |||
# 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" | |||
# 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`` | |||
# 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" "Gaia::Calculator" "Boot2Gecko Graveyard" "Gaia::Calculator" | |||
# Once completed, the move the bug back to the "Administration" component | |||
# Delete the old component and mark the bug as resolved/fixed | |||
Delete old component | |||