diff options
author | Nicolas Vigier <boklm@mars-attacks.org> | 2013-06-24 15:45:00 +0200 |
---|---|---|
committer | Nicolas Vigier <boklm@mars-attacks.org> | 2013-06-24 15:45:32 +0200 |
commit | 64566f582283e6de77d048496d6682957264e3cc (patch) | |
tree | 1f1d7e2ecbb945d5e39ea805a1bbf6fd9bdbb008 /tmpl | |
parent | 61b5af7e42f23ad53956c083fc6a9271e2d58cff (diff) | |
download | mgagit-64566f582283e6de77d048496d6682957264e3cc.tar mgagit-64566f582283e6de77d048496d6682957264e3cc.tar.gz mgagit-64566f582283e6de77d048496d6682957264e3cc.tar.bz2 mgagit-64566f582283e6de77d048496d6682957264e3cc.tar.xz mgagit-64566f582283e6de77d048496d6682957264e3cc.zip |
Set commits mailing lists
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/repodef_repo.gl | 2 | ||||
-rw-r--r-- | tmpl/soft_repo.gl | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tmpl/repodef_repo.gl b/tmpl/repodef_repo.gl index 8d18b2b..bffb60b 100644 --- a/tmpl/repodef_repo.gl +++ b/tmpl/repodef_repo.gl @@ -2,3 +2,5 @@ repo [% repo %] RW master = [% r.repos.$repo.maintainer %] RW+ user/USER/ = @all R = @all + config hooks.mailinglist = sysadmin-commits@ml.mageia.org + config hooks.emailprefix = [% repo %] diff --git a/tmpl/soft_repo.gl b/tmpl/soft_repo.gl index 1e12256..11a6482 100644 --- a/tmpl/soft_repo.gl +++ b/tmpl/soft_repo.gl @@ -3,3 +3,9 @@ repo [% repo %] RW release/ = [% r.repos.$repo.maintainer %] RW+ user/USER/ = @all R = @all +[% IF r.repos.$repo.mailinglist -%] + config hooks.mailinglist = [% r.repos.$repo.mailinglist %] +[% ELSE -%] + config hooks.mailinglist = soft-commits@ml.mageia.org +[% END -%] + config hooks.emailprefix = [% repo %] |