reno/releasenotes/notes/add-closed-branch-config-options-8773caf240e4653f.yaml
Doug Hellmann b9cf9a7371 support scanning closed stable branches
The scanner was stopping too soon when reviewing the history of a
branch for which the previous branch had been "closed" by deleting the
branch and tagging it with an -eol tag. This fix treats closed -eol
branches the same way as open stable branches, using new configuration
options to allow projects that use different naming conventions to
have the same benefits.

Change-Id: I8024929a2a95e00df48ce56939d54c1569fe18c5
Fixes-Bug: #1746076
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-29 14:53:28 -05:00

20 lines
855 B
YAML

---
features:
- |
Adds new configuration options ``closed_branch_tag_re`` (to
identify tags that replace branches that have been closed) and
``branch_name_prefix`` (a value to be added back to the closed
branch tag to turn it into the original branch name.
These options are used in OpenStack to support scanning the
history of a branch based on the previous series branch, even
after that previous series is closed by setting
``closed_branch_tag_re`` to ``(.+)-eol`` so that the series name
in a value like ``"mitaka-eol"`` is extracted using the
group. With ``branch_name_prefix`` set to ``"stable/"`` the tag
``mitaka-eol`` becomes the branch name ``stable/mitaka``.
fixes:
- |
Fixes bug 1746076 so that scanning stable branches correctly
includes the history of earlier closed stable branches.