[Qa-jenkins-scm] [jenkins.debian.net] 03/03: reproducible: make criteria for old versions match reality

Holger Levsen holger at moszumanska.debian.org
Mon Dec 7 12:30:12 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 f48938b80d93ed14b8bf9e2992cc15ab9d596fe4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Dec 7 13:30:04 2015 +0100

    reproducible: make criteria for old versions match reality
---
 bin/reproducible_scheduler.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 79ca8f3..31d0f3f 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -369,8 +369,8 @@ def query_old_ftbfs_and_depwait_versions(suite, arch, limit):
 
 
 def query_old_versions(suite, arch, limit):
-    criteria = 'tested at least two weeks ago, no new version available, ' + \
-               'sorted by last build date'
+    criteria = """tested at least {minimum_age} days ago, no new version available,
+               sorted by last build date""".format(minimum_age=MINIMUM_AGE[arch])
     query = """SELECT DISTINCT s.id, s.name
                 FROM sources AS s JOIN results AS r ON s.id = r.package_id
                 WHERE s.suite='{suite}' AND s.architecture='{arch}'

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