ciabot/run-libreoffice-ciabot.pl |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 2bd27f18f2435681259c0535c7b223195b3bdf7b
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Fri Apr 17 07:42:46 2015 +0000

    we need to always include a branch name

diff --git a/ciabot/run-libreoffice-ciabot.pl b/ciabot/run-libreoffice-ciabot.pl
index 80551a0..517960c 100755
--- a/ciabot/run-libreoffice-ciabot.pl
+++ b/ciabot/run-libreoffice-ciabot.pl
@@ -120,7 +120,10 @@ sub report($$$) {
                                     qx(perl -I $cwd $cwd/sigui-bugzilla.pl 
$repo $_ $branch_name);
                                 } else {
                                     if ( is_valid_bugzilla_commit( $repo, 
$branch_name ) ) {
-                                        qx(python 
$cwd/libreoffice-bugzilla2.py -r $repo -c $_ -b $branch_name);
+                                       my $branch = $branch_name;
+                                       $branch = 'master' if ($branch eq '');
+                                       print "reporting to bugzilla: $_ and 
branch $branch";
+                                        qx(python 
$cwd/libreoffice-bugzilla2.py -r $repo -c $_ -b $branch >> 
/home/ciabot/bugzilla.log);
                                     }
                                     qx($ciabot $repo $_ $branch_name 
$ciaproxy);
                                 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to