aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/group_owned_repo.gl
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/mgagit/templates/group_owned_repo.gl')
-rw-r--r--deployment/mgagit/templates/group_owned_repo.gl11
1 files changed, 5 insertions, 6 deletions
diff --git a/deployment/mgagit/templates/group_owned_repo.gl b/deployment/mgagit/templates/group_owned_repo.gl
index ff5e3a02..18e7db49 100644
--- a/deployment/mgagit/templates/group_owned_repo.gl
+++ b/deployment/mgagit/templates/group_owned_repo.gl
@@ -20,17 +20,16 @@ repo [% repo %]
RW+ user/USER/ = @all
R = @all
[% IF r.repos.$repo.noemail -%]
- config hooks.mailinglist = ""
+ config multimailhook.mailinglist = ""
[% ELSE -%]
[% IF r.repos.$repo.mailinglist -%]
- config hooks.mailinglist = "[% r.repos.$repo.mailinglist %]"
+ config multimailhook.mailinglist = "[% r.repos.$repo.mailinglist %]"
[% ELSE -%]
- config hooks.mailinglist = "<%= @ml %>-commits@ml.mageia.org"
+ config multimailhook.mailinglist = "<%= @ml %>-commits@ml.mageia.org"
[% END -%]
[% END -%]
- config hooks.emailprefix = "[[% repo %]] "
- config hooks.envelopesender = "root@mageia.org"
- config hooks.showrev = "/usr/local/bin/mgagit-format-commit-email %s"
+ config multimailhook.emailDomain = "mageia.org"
+ config multimailhook.envelopeSender = "root@mageia.org"
config gitweb.description = "[% r.repos.$repo.description %]"
[% IF r.users.$maintainer -%]
config gitweb.owner = "[% r.users.$maintainer.cn.0 %] [[% maintainer %]]"