make f18 branches obsolete now

add some regex's for epel7
This commit is contained in:
Dennis Gilmore 2013-12-15 23:06:55 -06:00
parent 4a7885c47f
commit f53e0894a8

View file

@ -3,7 +3,7 @@ VERSION = "1.0"
# Unfortunately pkgdb can't tell us when we stop accepting branches for the
# oldest supported release, so this needs updating manually.
OBSOLETE_BRANCH='f17'
OBSOLETE_BRANCH='f18'
# A bug for testing new types of badly formatted requests exists:
# https://bugzilla.redhat.com/show_bug.cgi?id=622067
@ -282,7 +282,9 @@ def clean_branches(branches):
branches = re.sub(r'devel', ' ', branches)
branches = re.sub(r'master', ' ', branches)
branches = re.sub(r'f-([1-9][0-9])', r'f\1', branches)
branches = re.sub(r'el-([1-9])', r'el\1', branches)
branches = re.sub(r'el-([1-6])', r'el\1', branches)
branches = re.sub(r'el-([7-9])', r'epel\1', branches)
branches = re.sub(r'epel-([1-9])', r'epel\1', branches)
branches = re.sub(r' +', ' ', branches)
# Now make things nasty to satisfy history