aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/repodef_repo.gl2
-rw-r--r--tmpl/soft_repo.gl6
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 %]