aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mars-attacks.org>2013-07-15 13:21:02 +0200
committerNicolas Vigier <boklm@mars-attacks.org>2013-07-15 13:21:02 +0200
commit510d51e76a470039c11f9a20b8a2e4ae3dce1bb5 (patch)
tree4ce47b6ba1883a6ac6cf847f5255850c6dff6501
parentcd80c1ef391398e574b2ab2b99cc41a50808e8f7 (diff)
downloadmgagit-510d51e76a470039c11f9a20b8a2e4ae3dce1bb5.tar
mgagit-510d51e76a470039c11f9a20b8a2e4ae3dce1bb5.tar.gz
mgagit-510d51e76a470039c11f9a20b8a2e4ae3dce1bb5.tar.bz2
mgagit-510d51e76a470039c11f9a20b8a2e4ae3dce1bb5.tar.xz
mgagit-510d51e76a470039c11f9a20b8a2e4ae3dce1bb5.zip
soft_repo.gl: allow @mga-packagers to push by default
Allow @mga-packagers to push to master and release/ branches by default, unless lockdown is set to 'yes' for the repo
-rw-r--r--NEWS2
-rw-r--r--tmpl/soft_repo.gl4
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 7baaec5..660c191 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
+- soft_repo.gl: allow @mga-packagers to push to master and release/
+ branches by default, unless lockdown is set to 'yes' for this repo
- soft_repo.gl: set maintainer as gitweb.owner
- provide access to users ldap infos from templates
diff --git a/tmpl/soft_repo.gl b/tmpl/soft_repo.gl
index 549f715..69e9c30 100644
--- a/tmpl/soft_repo.gl
+++ b/tmpl/soft_repo.gl
@@ -2,6 +2,10 @@
repo [% repo %]
RW master = [% maintainer %]
RW release/ = [% maintainer %]
+[% IF r.repos.$repo.lockdown != 'yes' -%]
+ RW master = @mga-packagers
+ RW release/ = @mga-packagers
+[% END -%]
RW+ user/USER/ = @all
R = @all
[% IF r.repos.$repo.mailinglist -%]