Kaydet (Commit) 724b4eab authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Make commit stat script recognize opensuse fate entries, too

Change-Id: Ia6b3e6459c5bda7ea24091024cf3dabd19746237
üst 7a8a0127
...@@ -11,10 +11,11 @@ my $main_repo="core"; ...@@ -11,10 +11,11 @@ my $main_repo="core";
my @pieces=("binfilter", "dictionaries", "help", "translations"); my @pieces=("binfilter", "dictionaries", "help", "translations");
my %bugzillas = ( my %bugzillas = (
fdo => "https://bugs.freedesktop.org/", fdo => "https://bugs.freedesktop.org/show_bug.cgi?id=",
bnc => "https://bugzilla.novell.com/", bnc => "https://bugzilla.novell.com/show_bug.cgi?id=",
rhbz => "https://bugzilla.redhat.com/", rhbz => "https://bugzilla.redhat.com/show_bug.cgi?id=",
i => "https://issues.apache.org/ooo/", i => "https://issues.apache.org/ooo/show_bug.cgi?id=",
fate => "https://features.opensuse.org/",
); );
sub search_bugs($$$$) sub search_bugs($$$$)
...@@ -305,7 +306,7 @@ sub get_bug_name($$) ...@@ -305,7 +306,7 @@ sub get_bug_name($$)
my $bug_number = $2; # 12345 my $bug_number = $2; # 12345
if ( $bugzillas{$bugzilla} ) { if ( $bugzillas{$bugzilla} ) {
my $url = $bugzillas{$bugzilla} . "show_bug.cgi?id=" . $bug_number; my $url = $bugzillas{$bugzilla} . $bug_number;
my $ua = LWP::UserAgent->new; my $ua = LWP::UserAgent->new;
$ua->timeout(10); $ua->timeout(10);
$ua->env_proxy; $ua->env_proxy;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment