From 724b4eab1abaab12f42fda051e1408c97891868a Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 12 Jul 2012 01:32:55 +0200 Subject: [PATCH] Make commit stat script recognize opensuse fate entries, too Change-Id: Ia6b3e6459c5bda7ea24091024cf3dabd19746237 --- bin/lo-commit-stat | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat index 4fb8a104f457..4135b8b9a33d 100755 --- a/bin/lo-commit-stat +++ b/bin/lo-commit-stat @@ -11,10 +11,11 @@ my $main_repo="core"; my @pieces=("binfilter", "dictionaries", "help", "translations"); my %bugzillas = ( - fdo => "https://bugs.freedesktop.org/", - bnc => "https://bugzilla.novell.com/", - rhbz => "https://bugzilla.redhat.com/", - i => "https://issues.apache.org/ooo/", + fdo => "https://bugs.freedesktop.org/show_bug.cgi?id=", + bnc => "https://bugzilla.novell.com/show_bug.cgi?id=", + rhbz => "https://bugzilla.redhat.com/show_bug.cgi?id=", + i => "https://issues.apache.org/ooo/show_bug.cgi?id=", + fate => "https://features.opensuse.org/", ); sub search_bugs($$$$) @@ -305,7 +306,7 @@ sub get_bug_name($$) my $bug_number = $2; # 12345 if ( $bugzillas{$bugzilla} ) { - my $url = $bugzillas{$bugzilla} . "show_bug.cgi?id=" . $bug_number; + my $url = $bugzillas{$bugzilla} . $bug_number; my $ua = LWP::UserAgent->new; $ua->timeout(10); $ua->env_proxy;