diff options
author | Dan Fandrich <danf@mageia.org> | 2024-02-15 18:43:51 -0800 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-02-15 18:43:51 -0800 |
commit | 808578789e9f2fb6ea1575252fb47f808d6c5407 (patch) | |
tree | fffa3e1de9247352e24a0f7e5e6bd582ef3bba62 /modules | |
parent | 91628ccea644a422276e1a369251d35cbee0b67e (diff) | |
download | puppet-808578789e9f2fb6ea1575252fb47f808d6c5407.tar puppet-808578789e9f2fb6ea1575252fb47f808d6c5407.tar.gz puppet-808578789e9f2fb6ea1575252fb47f808d6c5407.tar.bz2 puppet-808578789e9f2fb6ea1575252fb47f808d6c5407.tar.xz puppet-808578789e9f2fb6ea1575252fb47f808d6c5407.zip |
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.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/subversion/templates/hook_sendmail.pl | 4 |
1 files changed, 4 insertions, 0 deletions
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 %> |