aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 -%]