[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: schedule new packages+versions sooner

Holger Levsen holger at moszumanska.debian.org
Fri May 15 12:17:37 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 1d58264c5031679b97c14f0040fed19753b978b4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri May 15 14:17:33 2015 +0200

    reproducible: schedule new packages+versions sooner
---
 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 01bbc33..fec9e09 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -220,7 +220,7 @@ def scheduler():
             'FROM schedule AS p JOIN sources AS s ON p.package_id=s.id '
     total = int(query_db(query)[0][0])
     log.info('Currently scheduled packages in all suites: ' + str(total))
-    if total > 250:
+    if total > 750:
         generate_schedule()  # from reproducible_html_indexes
         log.info(str(total) + ' packages already scheduled' +
                  ', nothing to do here.')
@@ -261,8 +261,10 @@ def scheduler():
         many_old = 17 # also...
     elif total <= 450:
         many_old = 10 # ...
-    else:
+    elif total <= 550:
         many_old = 1  # ...
+    else:
+        many_old = 0  # ...
     for suite in SUITES:
         if suite != 'experimental':
             suite_many_old = many_old*10 # experimental is roughly one tenth of the size of the other suites
@@ -311,7 +313,7 @@ if __name__ == '__main__':
         overall = int(query_db('SELECT count(*) FROM schedule')[0][0])
     except:
         overall = 9999
-    if overall > 250:
+    if overall > 750:
         log.info(str(overall) + ' packages already scheduled, nothing to do.')
         sys.exit()
     log.info(str(overall) + ' packages already scheduled, scheduling some more...')

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