[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: schedule packages in unstable before those in other suites

Holger Levsen holger at moszumanska.debian.org
Thu May 28 11:46:06 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 7bc0ae59871f46e68482a4aa836a8744eed33c65
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu May 28 13:41:08 2015 +0200

    reproducible: schedule packages in unstable before those in other suites
---
 bin/reproducible_scheduler.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index f07734e..baa41ed 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -279,7 +279,13 @@ def scheduler():
     log.info('==============================================================')
 
     now_queued_here = {}
+    # make sure to schedule packages in unstable first
+    # (but keep the view ordering everywhere else)
+    priotized_suite_order = ['unstable']
     for suite in SUITES:
+        if suite not in priotized_suite_order:
+            priotized_suite_order += suite
+    for suite in priotized_suite_order:
         query = 'SELECT count(*) ' + \
                 'FROM schedule AS p JOIN sources AS s ON p.package_id=s.id ' + \
                 'WHERE s.suite="{suite}"'.format(suite=suite)

-- 
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