distgit/pagure: Do not allow packagers to create the 'master' branch if it does not exist in PDC
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
7c51566c36
commit
5aa15e44e3
1 changed files with 3 additions and 2 deletions
|
@ -73,8 +73,9 @@ RCM_BRANCHES = ['refs/heads/f[0-9]+', 'refs/tags/.*', 'refs/heads/master', 'refs
|
|||
# Pushing to c* stuff is never allowed
|
||||
BLACKLIST_RES = ['refs/heads/c[0-9]+.*']
|
||||
# Pushing to (f|epel|el|olpc)(num+) that is not previously approved
|
||||
# (supported branches) is not allowed.
|
||||
UNSPECIFIED_BLACKLIST_RES = ['refs/heads/f[0-9]+',
|
||||
# (supported branches, ie: configured and active in PDC) is not allowed.
|
||||
UNSPECIFIED_BLACKLIST_RES = ['master',
|
||||
'refs/heads/f[0-9]+',
|
||||
'refs/heads/epel[0-9]+',
|
||||
'refs/heads/el[0-9]+',
|
||||
'refs/heads/olpc[0-9]+']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue