From 64566f582283e6de77d048496d6682957264e3cc Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 24 Jun 2013 15:45:00 +0200 Subject: Set commits mailing lists --- tmpl/repodef_repo.gl | 2 ++ tmpl/soft_repo.gl | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'tmpl') 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 %] -- cgit v1.2.1