[devscripts] 01/01: rc-alert: add bug URL to the output

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Feb 16 11:56:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository devscripts.

commit ae554f556b369dc9dbe0ad99d68ce63c491ee889
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Feb 16 09:55:53 2017 -0200

    rc-alert: add bug URL to the output
---
 debian/changelog    | 5 +++++
 scripts/rc-alert.pl | 1 +
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b61ae2a..19fbf08 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
 devscripts (2.17.2) UNRELEASED; urgency=medium
 
+  [ James McCoy ]
   * deb-reversion:
     + Correct parsing of long-form --new-version switch.  (Closes: #853919)
 
+  [ Antonio Terceiro ]
+  * rc-alert:
+    + add bug URL to the output.
+
  -- James McCoy <jamessan at debian.org>  Thu, 02 Feb 2017 21:42:22 -0500
 
 devscripts (2.17.1) unstable; urgency=medium
diff --git a/scripts/rc-alert.pl b/scripts/rc-alert.pl
index b275c8c..3b31672 100755
--- a/scripts/rc-alert.pl
+++ b/scripts/rc-alert.pl
@@ -334,6 +334,7 @@ sub store_if_relevant(%) {
 	my $bug_string = "Package: $pkgname\n" .
 	    $comment .  # non-empty comments always contain the trailing \n
 	    "Bug:     $args{num}\n" .
+	    "Bug-URL: https://bugs.debian.org/$args{num}\n" .
 	    "Title:   " . unhtmlsanit($args{name}) . "\n" .
 	    "Flags:   " . $flags . "\n" .
 	    (defined $args{dists} ? "Dists:  " . $dists . "\n" : "") .

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list