Add list_eom_stale_branches.sh

This is based on the list_eol_stale_branches.sh script to make it
possible to delete stable/<series> branches where there are
<series>-eom tag already.

Change-Id: Iaaa9702c5b304152492ed2afc56ac07fb9c9fb98
This commit is contained in:
Előd Illés
2024-02-01 23:19:21 +01:00
committed by Elod Illes
parent 88f298c6bc
commit 97e76562e0
2 changed files with 160 additions and 0 deletions

View File

@@ -840,6 +840,29 @@ declared ``End of Life`` (that is, tagged with ``$series-eol``), but the
corresponding series branch still exists. The script also offers to delete
these stale branches.
.. note::
Only release managers have the access rights to delete branches.
tools/list_eom_stale_branches.sh
---------------------------------
A script to detect deliverables that have EOM stale branches and optionally
delete them.
Example:
::
tools/list_eom_stale_branches.sh <series>
With the new process changes maintained branches don't move into
Extended Maintenance anymore, but into Unmaintained phase. The HEAD of
the stable branches are tagged with <series>-eom tag and a branch
called unmaintained/<series> is cut from that tag. The stable/<series>
branch needs to be deleted afterwards.
This script list these stable/branches and offers to delete them.
.. note::
Only release managers have the access rights to delete branches.