[Libreoffice-commits] .: bin/lo-commit-stat

Thorsten Behrens thorsten at kemper.freedesktop.org
Wed Jul 11 16:34:46 PDT 2012


 bin/lo-commit-stat |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

New commits:
commit 724b4eab1abaab12f42fda051e1408c97891868a
Author: Thorsten Behrens <tbehrens at suse.com>
Date:   Thu Jul 12 01:32:55 2012 +0200

    Make commit stat script recognize opensuse fate entries, too
    
    Change-Id: Ia6b3e6459c5bda7ea24091024cf3dabd19746237

diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 4fb8a10..4135b8b 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;


More information about the Libreoffice-commits mailing list