From 6f12137201bbd0995983894238b63a60f1861841 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 4 Sep 2015 21:54:43 +0200 Subject: fixup 1ddf9264: reproducible: almost always schedule new versions, so that new uploads are processed quickly. i'd welcome a more elegant solution... --- bin/reproducible_scheduler.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index be122836..5303112c 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -445,10 +445,13 @@ def scheduler(arch): generate_schedule() # from reproducible_html_indexes log.info(str(total) + ' packages already scheduled' + ', only scheduling new versions.') - untested, msg_untested = 0, 0 + empty_pkgs = {} + for suite in SUITES: + empty_pkgs[suite] = [] + untested, msg_untested = empty_pkgs, '' new, msg_new = schedule_new_versions(arch, total) - old_ftbfs, msg_old_ftbfs = 0 ,0 - old, msg_old = 0, 0 + old_ftbfs, msg_old_ftbfs = empty_pkgs, '' + old, msg_old = empty_pkgs, '' else: log.info(str(total) + ' packages already scheduled' + ', scheduling some more...') -- cgit v1.2.3-70-g09d2