[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: reschedule packages in state 'depwait' after 2 days (before: 3)
Holger Levsen
holger at layer-acht.org
Mon Jun 13 10:53:13 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 ac25870187bb6cc7af9a815723d979bb68a8de55
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Jun 13 12:52:32 2016 +0200
reproducible debian: reschedule packages in state 'depwait' after 2 days (before: 3)
---
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 3888c67..f0d12c4 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -406,13 +406,13 @@ def query_old_ftbfs_versions(suite, arch, limit):
def query_old_depwait_versions(suite, arch, limit):
- criteria = 'status depwait, no bug filed, tested at least 3 days ago, ' + \
+ criteria = 'status depwait, no bug filed, tested at least 2 days ago, ' + \
'no new version available, sorted by last build date'
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}'
AND r.status='depwait'
- AND r.build_date < datetime('now', '-3 days')
+ AND r.build_date < datetime('now', '-2 days')
AND s.id NOT IN (SELECT schedule.package_id FROM schedule)
ORDER BY r.build_date
LIMIT {limit}""".format(suite=suite, arch=arch, limit=limit)
--
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