aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-02-12 23:32:43 -0800
committerDan Fandrich <danf@mageia.org>2024-02-12 23:37:30 -0800
commit1dcb5d027b9dda13ff5740e0be1a0dc86f97d8c7 (patch)
tree1e3fad38be897804bcf126e8531b7c9ec72f98ee
parent2139d918c72b6b656a914f51add64b82adcc18d9 (diff)
downloadpuppet-1dcb5d027b9dda13ff5740e0be1a0dc86f97d8c7.tar
puppet-1dcb5d027b9dda13ff5740e0be1a0dc86f97d8c7.tar.gz
puppet-1dcb5d027b9dda13ff5740e0be1a0dc86f97d8c7.tar.bz2
puppet-1dcb5d027b9dda13ff5740e0be1a0dc86f97d8c7.tar.xz
puppet-1dcb5d027b9dda13ff5740e0be1a0dc86f97d8c7.zip
Improve the subversion commit messages (mga#2566)
- Add the path to the subject - Add a link to Bugzilla for bugs - Add a link to svnweb
-rw-r--r--modules/subversion/templates/hook_sendmail.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/subversion/templates/hook_sendmail.pl b/modules/subversion/templates/hook_sendmail.pl
index 286678be..8572070f 100644
--- a/modules/subversion/templates/hook_sendmail.pl
+++ b/modules/subversion/templates/hook_sendmail.pl
@@ -7,6 +7,9 @@
alternative: HTML::ColorDiff
with-diff: 1
max_diff_length: 20000
+ 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: root@<%= @domain %>
to:
<%- commit_mail.each do |mail| -%>
@@ -19,6 +22,9 @@
alternative: HTML::ColorDiff
with-diff: 1
max_diff_length: 20000
+ 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: root@<%= @domain %>
to: <%= i18n_mail %>
<%- end -%>