aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MGA/Advisories.pm
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 /lib/MGA/Advisories.pm
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.
Diffstat (limited to 'lib/MGA/Advisories.pm')
-rw-r--r--lib/MGA/Advisories.pm2
1 files changed, 1 insertions, 1 deletions
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… ");