diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-07 13:30:04 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-07 13:30:04 +0100 |
commit | f48938b80d93ed14b8bf9e2992cc15ab9d596fe4 (patch) | |
tree | a9868ba9395d20f047c431cdd076c7241fae5043 | |
parent | 39a35150e0fff5f2e3b4d6f8b4a6432589f87da2 (diff) | |
download | jenkins.debian.net-f48938b80d93ed14b8bf9e2992cc15ab9d596fe4.tar.xz |
reproducible: make criteria for old versions match reality
-rwxr-xr-x | bin/reproducible_scheduler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 79ca8f30..31d0f3f6 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}' |