Treat bug/ and feature/ branches the same way

Add support for bug/ branches for projects that use intermediate
releases to support the case where a change has landed in master and a
bug fix is needed, but the branch to be created should not be seen as a
long term stable release series. For example, if a breaking change is
made in a library in anticipation of a major series version update, but
then a critical bug is found in the previous intermediate release. The
fix could be back-ported and released into the master stream without the
breaking change.

Change-Id: Ic790600c4c058817e32422f7c7d1be7fdbf98994
This commit is contained in:
Doug Hellmann 2015-06-25 20:00:09 +00:00
parent 8b71bcbe91
commit cf0cb2f98d
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ def parse_features(fname):
def normalize_branch(branch):
if branch.startswith("feature/"):
# Feature branches chase master and should be tested
if branch.startswith(("feature/", "bug/")):
# Feature and bug branches chase master and should be tested
# as if they were the master branch.
branch = GRID['branches']['default']
elif branch.startswith("stable/"):