aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-11-25 10:30:09 +0000
committerColin Guthrie <colin@mageia.org>2014-11-25 10:31:48 +0000
commit102c61726862985998c52f89a6158f812c2dd715 (patch)
tree94478e8fb1a2a21b7f869495c8c0dbf06499133d
parent55c1077bc19f5cf5b59ab74d1b6f9daa2d1fbed0 (diff)
downloadmgaadvisories-102c61726862985998c52f89a6158f812c2dd715.tar
mgaadvisories-102c61726862985998c52f89a6158f812c2dd715.tar.gz
mgaadvisories-102c61726862985998c52f89a6158f812c2dd715.tar.bz2
mgaadvisories-102c61726862985998c52f89a6158f812c2dd715.tar.xz
mgaadvisories-102c61726862985998c52f89a6158f812c2dd715.zip
Print out the bug link when processing advisories.
I'm forever missing this information and having to manually find which advisory I'm actually looking at, let's just print it out.
-rw-r--r--NEWS1
-rw-r--r--lib/MGA/Advisories.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ce6a1a6..00adf2c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- print out bug link when assigning IDs
- add support for posting to bugzilla during ID assignment if cross checks fail
- add publishall option to process all pending advisories
- fix bugnum regexp for '12345.mga4' type advisory names
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm
index 2d84aac..cd56b56 100644
--- a/lib/MGA/Advisories.pm
+++ b/lib/MGA/Advisories.pm
@@ -250,7 +250,7 @@ sub assign_id {
if (my $result = call_bz('Bug.get', {ids => [$bugnum]})) {
my $failed = 0;
my $bug = $result->{bugs}->[0];
- print "Found Bug: " . $bug->{summary} . "\n";
+ print "Found Bug: " . $bug->{summary} . "\n " . $config->{bugzilla_url} . "$bugnum\n";
my ($buffer, $msg);
print $msg = sprintf("%-40s", "Checking for QA validation keyword… ");