mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
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:
@@ -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]+']
|
||||
|
||||
Reference in New Issue
Block a user