[Qa-jenkins-scm] [jenkins.debian.net] 02/05: reproducible: scheduler: tweak the final message to print also how many pacakges are now scheduled for that suite
Holger Levsen
holger at moszumanska.debian.org
Sat Mar 7 09:50:02 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 bd701840d583dd96d190c25c34c46b1c9e0885df
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Fri Mar 6 20:32:16 2015 +0100
reproducible: scheduler: tweak the final message to print also how many pacakges are now scheduled for that suite
---
bin/reproducible_scheduler.py | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 8f19b17..dbebb7a 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -254,18 +254,19 @@ def scheduler():
for suite in SUITES:
all_scheduled_pkgs = []
+ all_scheduled_pkgs.extend(untested[suite])
+ all_scheduled_pkgs.extend(new[suite])
+ all_scheduled_pkgs.extend(old[suite])
# build the final message text
- message = 'Scheduled in ' + suite + ':' + str(len(untested[suite])) + ' untested packages, ' + \
- str(len(new[suite])) + ' packages with new versions and ' + \
- str(len(old[suite])) + ' with the same version (total: ' + \
- str(total)+')'
+ message = 'Scheduled in ' + suite + ': ' + \
+ str(len(untested[suite])) + ' untested packages, ' + \
+ str(len(new[suite])) + ' packages with new versions and ' + \
+ str(len(old[suite])) + ' with the same version ' + \
+ '(total: ' + str(total) + ' of which ' + \
+ str(len(all_scheduled_pkgs)) + ' in ' + suite + ')'
kgb = ['kgb-client', '--conf', '/srv/jenkins/kgb/debian-reproducible.conf',
'--relay-msg']
kgb.extend(message.split())
- # schedule...
- all_scheduled_pkgs.extend(untested[suite])
- all_scheduled_pkgs.extend(new[suite])
- all_scheduled_pkgs.extend(old[suite])
# finally
schedule_packages(all_scheduled_pkgs)
call(kgb)
--
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