make f18 branches obsolete now
add some regex's for epel7
This commit is contained in:
parent
4a7885c47f
commit
f53e0894a8
1 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,7 @@ VERSION = "1.0"
|
||||||
|
|
||||||
# Unfortunately pkgdb can't tell us when we stop accepting branches for the
|
# Unfortunately pkgdb can't tell us when we stop accepting branches for the
|
||||||
# oldest supported release, so this needs updating manually.
|
# 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:
|
# A bug for testing new types of badly formatted requests exists:
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=622067
|
# 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'devel', ' ', branches)
|
||||||
branches = re.sub(r'master', ' ', branches)
|
branches = re.sub(r'master', ' ', branches)
|
||||||
branches = re.sub(r'f-([1-9][0-9])', r'f\1', 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)
|
branches = re.sub(r' +', ' ', branches)
|
||||||
|
|
||||||
# Now make things nasty to satisfy history
|
# Now make things nasty to satisfy history
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue