From 1dcb5d027b9dda13ff5740e0be1a0dc86f97d8c7 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 12 Feb 2024 23:32:43 -0800 Subject: 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 --- modules/subversion/templates/hook_sendmail.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules') 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 -%> -- cgit v1.2.1