aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-09-15 22:13:32 +0100
committerColin Guthrie <colin@mageia.org>2014-09-15 22:13:32 +0100
commitc6ebc29b9c0729d259bde1f5ccb1ae2c287c2565 (patch)
treea60f84a61bac2e591d4b51e985ec02ca67562616 /deployment/mgagit
parent2b8ddbb1893669aef2b142af39d6ba8e1b39cc79 (diff)
downloadpuppet-c6ebc29b9c0729d259bde1f5ccb1ae2c287c2565.tar
puppet-c6ebc29b9c0729d259bde1f5ccb1ae2c287c2565.tar.gz
puppet-c6ebc29b9c0729d259bde1f5ccb1ae2c287c2565.tar.bz2
puppet-c6ebc29b9c0729d259bde1f5ccb1ae2c287c2565.tar.xz
puppet-c6ebc29b9c0729d259bde1f5ccb1ae2c287c2565.zip
mgagit: Temporarily allow maintainers to rewrite tags.
This is because it's really easy to accidentally push both master and a tag at the same time, but have master rejected but the tag succeed (non-fastforward). A better solution is to not allow tags that introduce new commits but I'm not sure of the config to allow that so this is a bit of a short term solution to allow Thierry to fix up a few of his tags.
Diffstat (limited to 'deployment/mgagit')
-rw-r--r--deployment/mgagit/templates/group_owned_repo.gl2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/mgagit/templates/group_owned_repo.gl b/deployment/mgagit/templates/group_owned_repo.gl
index 6ac7fb93..e3d91e3f 100644
--- a/deployment/mgagit/templates/group_owned_repo.gl
+++ b/deployment/mgagit/templates/group_owned_repo.gl
@@ -3,7 +3,7 @@ repo [% repo %]
RW master$ = [% maintainer %]
RW distro/ = [% maintainer %]
RW topic/ = [% maintainer %]
- RW refs/tags/ = [% maintainer %]
+ RW+ refs/tags/ = [% maintainer %]
[% IF r.repos.$repo.lockdown != 'yes' -%]
RW master$ = @mga-<%= @group %>
RW distro/ = @mga-<%= @group %>