aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-11-06 12:39:27 -0800
committerDan Fandrich <danf@mageia.org>2024-11-06 12:39:27 -0800
commit0707b60c9024b9d2d4738587f88d00ad5de1f280 (patch)
tree9dd1e0f799cb1136131839da4e482c615cc2212a
parentcc9f46eb9f6b4d9fc5447eb64d601f934bbabaf2 (diff)
downloadpuppet-0707b60c9024b9d2d4738587f88d00ad5de1f280.tar
puppet-0707b60c9024b9d2d4738587f88d00ad5de1f280.tar.gz
puppet-0707b60c9024b9d2d4738587f88d00ad5de1f280.tar.bz2
puppet-0707b60c9024b9d2d4738587f88d00ad5de1f280.tar.xz
puppet-0707b60c9024b9d2d4738587f88d00ad5de1f280.zip
Try to fix the Bugzilla links in subversion commit mails
The bugs are recognized, but the link is empty in the mails.
-rw-r--r--modules/subversion/templates/hook_sendmail.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/subversion/templates/hook_sendmail.pl b/modules/subversion/templates/hook_sendmail.pl
index 81b786d2..cf3be6a4 100644
--- a/modules/subversion/templates/hook_sendmail.pl
+++ b/modules/subversion/templates/hook_sendmail.pl
@@ -8,7 +8,7 @@
with-diff: 1
max_diff_length: 20000
ticket_map:
- '\bmga#(\d+)\b': 'https://bugs.mageia.org/show_bug.cgi?id=%s'
+ '(\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 %>
@@ -24,7 +24,7 @@
with-diff: 1
max_diff_length: 20000
ticket_map:
- '\bmga#(\d+)\b': 'https://bugs.mageia.org/show_bug.cgi?id=%s'
+ '(\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 %>