From 808578789e9f2fb6ea1575252fb47f808d6c5407 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 15 Feb 2024 18:43:51 -0800 Subject: Add a ticket_map for Bugzilla to hook_sendmail.pl (mga#2566) This time, use a YAML mapping, as I suspect that's what the code is looking for instead of a plain string. --- modules/subversion/templates/hook_sendmail.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/subversion/templates/hook_sendmail.pl b/modules/subversion/templates/hook_sendmail.pl index 6abc441f..81b786d2 100644 --- a/modules/subversion/templates/hook_sendmail.pl +++ b/modules/subversion/templates/hook_sendmail.pl @@ -7,6 +7,8 @@ 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: subversion_noreply@ml.<%= @domain %> @@ -21,6 +23,8 @@ 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: subversion_noreply@ml.<%= @domain %> -- cgit v1.2.1