Add some notes on eol_branch.sh

Change-Id: Ib5e02ce4dd72a7fa472a592bbe8103a2aa9e3627
This commit is contained in:
Ian Wienand 2017-10-25 08:39:10 +11:00 committed by Tony Breeds
parent 2a86407a07
commit 50fd118ef2
1 changed files with 26 additions and 0 deletions

View File

@ -867,3 +867,29 @@ Example::
./bugs-fixed-since.py [...] --start=8.0.0 | ./lp-tag.py foo-tag
This command will add the 'foo-tag' tag to all bugs fixed since 8.0.0.
End of Life
===========
The ``eol_branch.sh`` script is provided to end-of-life branches. It
will abandon any changes on the to-be-removed branch, create a
``branch-eol`` tag at the current branch ``HEAD`` and then remove the
branch.
To run the script, add yourself to "Project Bootstrappers" temporarily
in ``review.openstack.org``.
Usually the release or stable team will have provided the branches to remove
grouped by project in an easy to use format. The command goes
something like::
eol_branch.sh -- stable/oldbranch oldbranch-eol openstack/project1 openstack/python-project1
gpg tips
--------
Tags will be signed, so ensure ``gpg`` is setup correctly. ``gpg2``
has better support for ``gpg-agent``, so ``git config --global
gpg.program gpg2`` will probably just "do the right thing" (note if
you're migrating, you may need to import your keys with
``gpg2 --import < ~/.gnupg/secreing.gpg``).