From 102c61726862985998c52f89a6158f812c2dd715 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 25 Nov 2014 10:30:09 +0000 Subject: 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. --- NEWS | 1 + lib/MGA/Advisories.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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… "); -- cgit v1.2.1