summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-09 22:04:07 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-09 22:04:07 +0100
commitee4e0275fc891e0dd6f0238024f3a4870f0bda8c (patch)
tree2acfd13064f24673b893bc700f74e681e1db7b8e
parent42cd2183dfaa48ba5bd0cd0fe50789de41818a7b (diff)
downloadjenkins.debian.net-ee4e0275fc891e0dd6f0238024f3a4870f0bda8c.tar.xz
reproducible: schedule 10 times as many old versions in suites != experimental
-rwxr-xr-xbin/reproducible_scheduler.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 024a32f6..3cfd822e 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 + '.')