[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: add comment explaining choice of hardcoding limit here

Holger Levsen holger at moszumanska.debian.org
Mon Jan 4 10:57:11 UTC 2016


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 64b4d748ecda0b0355ea8680e743a8ba0b19a1e1
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jan 4 11:57:03 2016 +0100

    reproducible: add comment explaining choice of hardcoding limit here
---
 bin/reproducible_scheduler.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index ad919b5..900c8fb 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -477,6 +477,7 @@ def schedule_404_versions(arch, total):
     for suite in SUITES:
         log.info('Requesting 404 packages in %s/%s...',
                  suite, arch)
+	# hard code the limit to 42 as 404s rarely happen anyway
         packages[suite] = query_404_versions(suite, arch, 42)
         log.info('Received ' + str(len(packages[suite])) +
                  ' 404 packages in ' + suite + '/' + arch + ' to schedule.')

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