[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: scheduler: shuffle the package list right before scheduling them
Holger Levsen
holger at moszumanska.debian.org
Fri Feb 19 09:34:46 UTC 2016
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 a367ceb9379fdc9082c76b4d1ff2fdfa8caed401
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Feb 19 07:38:03 2016 +0000
reproducible: scheduler: shuffle the package list right before scheduling them
---
bin/reproducible_scheduler.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index f3f41af..d31a8fb 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -297,6 +297,7 @@ def queue_packages(all_pkgs, packages, date):
def schedule_packages(packages):
+ random.shuffle(packages)
pkgs = ((x, packages[x]) for x in packages)
log.debug('IDs about to be scheduled: ' + str(packages.keys()))
query = 'INSERT INTO schedule ' + \
--
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