From 510d51e76a470039c11f9a20b8a2e4ae3dce1bb5 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 15 Jul 2013 13:21:02 +0200 Subject: 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 --- NEWS | 2 ++ tmpl/soft_repo.gl | 4 ++++ 2 files changed, 6 insertions(+) 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 -%] -- cgit v1.2.1