summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-09 22:44:45 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-09 22:44:45 +0100
commit518754c7158ee9aeccbaeab5abd215b1b1fdf690 (patch)
tree321d6918f6799f852bcc461948615dc098db6b9f
parente6593a04f7112387d19702e365044895de0d8f37 (diff)
downloadjenkins.debian.net-518754c7158ee9aeccbaeab5abd215b1b1fdf690.tar.xz
reproducible: schedule more new versions if there are any
-rwxr-xr-xbin/reproducible_scheduler.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index ec5d057b..c34b097b 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -220,7 +220,7 @@ def scheduler():
# untested packages
untested = {}
for suite in SUITES:
- log.info('Requesting 200 untested packages in' + suite + '...')
+ log.info('Requesting 200 untested packages in ' + suite + '...')
untested[suite] = scheduler_untested_packages(suite, 200)
total += len(untested[suite])
log.info('Received ' + str(len(untested[suite])) + ' untested packages in ' + suite + ' to schedule.')
@@ -229,12 +229,12 @@ def scheduler():
# packages with new versions
new = {}
if total <= 100:
- many_new = 50
+ many_new = 60
elif total <= 200:
- many_new = 25
+ many_new = 40
else:
- many_new = 5
- log.info('Requesting ' + str(many_new) + ' new versions in' + suite + '...')
+ many_new = 20
+ log.info('Requesting ' + str(many_new) + ' new versions in ' + suite + '...')
for suite in SUITES:
new[suite] = scheduler_new_versions(suite, many_new)
total += len(new[suite])
@@ -252,7 +252,7 @@ def scheduler():
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 in' + suite + '...')
+ log.info('Requesting ' + str(many_old) + ' old packages in ' + suite + '...')
old[suite] = scheduler_old_versions(suite, many_old)
total += len(old[suite])
log.info('Received ' + str(len(old[suite])) + ' old packages in ' + suite + ' to schedule.')