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

New commits:
commit b5222eac84e411d3dc7c5bac09fb70100c6df55e
Author: Dennis Roczek <dennisroc...@libreoffice.org>
Date:   Tue Jun 9 06:01:37 2015 +0200

    improve lo-commit-stat script
    
    'resolved' should also be removed
    and updating bug urls
    
    Change-Id: Ie8e71727856bcc44bd7f3311a9e1472327c9bf21
    Reviewed-on: https://gerrit.libreoffice.org/16207
    Reviewed-by: David Tardon <dtar...@redhat.com>
    Tested-by: David Tardon <dtar...@redhat.com>
    (cherry picked from commit b990cdf57d6a85a36de713004a67a90ba2650623)

diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index a372eea..db91390 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -17,7 +17,8 @@ my %module_dirname = (
 
 
 my %bugzillas = (
-    fdo  => "https://bugs.libreoffice.org/show_bug.cgi?id=";,
+    fdo  => "https://bugs.documentfoundation.org/show_bug.cgi?id=";,
+    tdf  => "https://bugs.documentfoundation.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=";,
@@ -54,7 +55,7 @@ sub search_bugs($$$$)
 #        print "   found $bug\n";
         # remove bug number from the comment; it will be added later a 
standardized way
         $bug_orig =~ s/\#/\\#/;
-        $line =~ s/[Rr]esolve[ds]:?\s*$bug_orig\s*//;
+        $line =~ s/(,\s)*[Rr](elated|esolve[ds]):?\s*$bug_orig\s*//;
         $line =~ s/\s*-\s*$bug_orig\s*//;
         $line =~ s/\(?$bug_orig\)?\s*[:,-]?\s*//;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to