summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-06-10 12:27:37 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-10 12:27:37 +0200
commitd12210482c3ebc0b69d9c3175fe27666859ddab9 (patch)
treeb9f6d58103a1e891240a5e382a466e955f90816b
parent8ba28f306a5efb45a567998fbc13165cebecbaa2 (diff)
downloadjenkins.debian.net-d12210482c3ebc0b69d9c3175fe27666859ddab9.tar.xz
reproducible Debian: reschedule 404 packages after 12h
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_scheduler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index b976f1bb..89b92524 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -517,9 +517,9 @@ def query_old_versions(suite, arch, limit):
return packages
def query_404_versions(suite, arch, limit):
- criteria = """tested at least a day ago, status 404,
+ criteria = """tested at least 12h ago, status 404,
sorted by last build date"""
- date = (datetime.now()-timedelta(days=1)).strftime('%Y-%m-%d %H:%M')
+ date = (datetime.now()-timedelta(days=0.5)).strftime('%Y-%m-%d %H:%M')
query = """SELECT s.id, s.name, max(r.build_date) max_date
FROM sources AS s JOIN results AS r ON s.id = r.package_id
WHERE s.suite='{suite}' AND s.architecture='{arch}'