aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/templates/hook_sendmail.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/subversion/templates/hook_sendmail.pl')
-rw-r--r--modules/subversion/templates/hook_sendmail.pl12
1 files changed, 10 insertions, 2 deletions
diff --git a/modules/subversion/templates/hook_sendmail.pl b/modules/subversion/templates/hook_sendmail.pl
index aab1db5a..cf3be6a4 100644
--- a/modules/subversion/templates/hook_sendmail.pl
+++ b/modules/subversion/templates/hook_sendmail.pl
@@ -7,7 +7,11 @@
alternative: HTML::ColorDiff
with-diff: 1
max_diff_length: 20000
- from: root@<%= domain %>
+ ticket_map:
+ '(\bmga#(\d+)\b)': 'https://bugs.mageia.org/show_bug.cgi?id=%s'
+ revision-url: "https://svnweb.mageia.org/packages/?revision=%s&view=revision"
+ subject_cx: 1
+ from: subversion_noreply@ml.<%= @domain %>
to:
<%- commit_mail.each do |mail| -%>
- <%= mail %>
@@ -19,6 +23,10 @@
alternative: HTML::ColorDiff
with-diff: 1
max_diff_length: 20000
- from: root@<%= domain %>
+ ticket_map:
+ '(\bmga#(\d+)\b)': 'https://bugs.mageia.org/show_bug.cgi?id=%s'
+ revision-url: "https://svnweb.mageia.org/packages/?revision=%s&view=revision"
+ subject_cx: 1
+ from: subversion_noreply@ml.<%= @domain %>
to: <%= i18n_mail %>
<%- end -%>