distgit/pagure: simplify RCM_BRANCHES and adjust the list of branches blocked
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
63437cbb4a
commit
05caa9f461
1 changed files with 5 additions and 1 deletions
|
@ -69,9 +69,13 @@ BLACKLISTED_GROUPS = ['forks', 'group']
|
||||||
ACL_BLOCK_UNSPECIFIED = False
|
ACL_BLOCK_UNSPECIFIED = False
|
||||||
ACL_PROTECTED_NAMESPACES = ['rpms', 'modules', 'container']
|
ACL_PROTECTED_NAMESPACES = ['rpms', 'modules', 'container']
|
||||||
RCM_GROUP = 'relenggroup'
|
RCM_GROUP = 'relenggroup'
|
||||||
RCM_BRANCHES = ['refs/heads/f[0-9]+', 'refs/tags/.*', 'refs/heads/master', 'refs/heads/.*']
|
RCM_BRANCHES = ['refs/heads/f[0-9]+', 'refs/tags/.*', 'refs/heads/.*']
|
||||||
# Pushing to c* stuff is never allowed
|
# Pushing to c* stuff is never allowed
|
||||||
|
{% if env == "staging" %}
|
||||||
|
BLACKLIST_RES = ['refs/heads/c[0-9]+.*', 'refs/heads/master']
|
||||||
|
{% else %}
|
||||||
BLACKLIST_RES = ['refs/heads/c[0-9]+.*']
|
BLACKLIST_RES = ['refs/heads/c[0-9]+.*']
|
||||||
|
{% endif %}
|
||||||
# Pushing to (f|epel|el|olpc)(num+) that is not previously approved
|
# Pushing to (f|epel|el|olpc)(num+) that is not previously approved
|
||||||
# (supported branches, ie: configured and active in PDC) is not allowed.
|
# (supported branches, ie: configured and active in PDC) is not allowed.
|
||||||
UNSPECIFIED_BLACKLIST_RES = ['master',
|
UNSPECIFIED_BLACKLIST_RES = ['master',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue