[Qa-jenkins-scm] [jenkins.debian.net] 03/03: reproducible: shorten irc message

Holger Levsen holger at moszumanska.debian.org
Fri Oct 9 13:52:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit ef4b587d9d8561d689450c3a7ca945bac97e346d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Oct 9 15:52:08 2015 +0200

    reproducible: shorten irc message
---
 bin/reproducible_remote_scheduler.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 002eb32..fd12043 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -185,13 +185,13 @@ for pkg in packages:
         pkgs.append(pkg)
 
 blablabla = '✂…' if len(' '.join(pkgs)) > 257 else ''
-packages_txt = ' packages ' if len(pkgs) > 1 else ' package '
+packages_txt = str(len(ids)) ' packages ' if len(pkgs) > 1 else ''
 trailing = ' - artifacts will be preserved' if artifacts else ''
 trailing += ' - with irc notification' if notify else ''
 trailing += ' - notify on start too' if debug_url else ''
 
-message = str(len(ids)) + packages_txt + 'scheduled in ' + suite + '/' + \
-    arch + ' by ' + requester
+message = requester + ' scheduled ' + packages_txt + \
+    'in ' + suite + '/' + arch
 if reason:
     message += ', reason: \'' + reason + '\''
 message += ': ' + ' '.join(pkgs)[0:256] + blablabla + trailing

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list