[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible: schedule 10 times as many old versions in suites != experimental

Holger Levsen holger at moszumanska.debian.org
Mon Mar 9 21:18:38 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 ee4e0275fc891e0dd6f0238024f3a4870f0bda8c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Mar 9 22:04:07 2015 +0100

    reproducible: schedule 10 times as many old versions in suites != experimental
---
 bin/reproducible_scheduler.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 024a32f..3cfd822 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -241,13 +241,15 @@ def scheduler():
     # old packages
     old = {}
     if total <= 250:
-        many_old = 20
+        many_old = 30
     elif total <= 350:
         many_old = 25
     else:
-        many_old = 1
-    log.info('Requesting ' + str(many_old) + ' old packages...')
+        many_old = 0
     for suite in SUITES:
+        if suite != 'experimental':
+            many_old = many_old*10 # experimental is roughly one tenth of the other suites in size
+        log.info('Requesting ' + str(many_old) + ' old packages...')
         old[suite] = scheduler_old_versions(suite, many_old)
         total += len(old[suite])
         log.info('About to schedule ' + str(len(old[suite])) + ' old packages in ' + 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