diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | tmpl/repodef_repo.gl | 2 | ||||
-rw-r--r-- | tmpl/soft_repo.gl | 6 |
3 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,6 @@ - add repodef_repo.gl template - allow defining repos directly in main config file +- set commits mailing lists Version 0.1 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 %] |