summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-06-02 13:33:34 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-02 13:33:34 +0200
commit6457bbdd5f6b6da2bef13c10c90b2e47a283c846 (patch)
tree70e1bfb281aed31bc5e9b7f9875e8bb0a6042180
parent580d616d7ee9c1aa820d02f73a94c2abaa9cf24e (diff)
downloadjenkins.debian.net-6457bbdd5f6b6da2bef13c10c90b2e47a283c846.tar.xz
reproducible debian: also reschedule depwait packages with bugs filed
-rwxr-xr-xbin/reproducible_scheduler.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 84fa961d..3888c67b 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -410,10 +410,8 @@ def query_old_depwait_versions(suite, arch, limit):
'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
- JOIN notes AS n ON n.package_id=s.id
WHERE s.suite='{suite}' AND s.architecture='{arch}'
AND r.status='depwait'
- AND ( n.bugs = '[]' OR n.bugs IS NULL )
AND r.build_date < datetime('now', '-3 days')
AND s.id NOT IN (SELECT schedule.package_id FROM schedule)
ORDER BY r.build_date
@@ -499,7 +497,7 @@ def schedule_old_ftbfs_versions(arch, total):
for suite in SUITES:
limit.suite = suite
old_ftbfs = limit.get_staged_limit(total)
- log.info('Requesting %s old ftbfs and depwait packages in %s/%s...', old_ftbfs,
+ log.info('Requesting %s old ftbfs packages in %s/%s...', old_ftbfs,
suite, arch)
packages[suite] = query_old_ftbfs_versions(suite, arch, old_ftbfs)
log.info('Received ' + str(len(packages[suite])) +