[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible Debian: reschedule 404 packages after 12h

Holger Levsen holger at layer-acht.org
Sat Jun 10 10:29:06 UTC 2017


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 d12210482c3ebc0b69d9c3175fe27666859ddab9
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Jun 10 12:27:37 2017 +0200

    reproducible Debian: reschedule 404 packages after 12h
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 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 b976f1b..89b9252 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}'

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