From 7276e444c374e597c32883aaa2305976b09b9071 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 5 Nov 2019 06:04:21 +0100 Subject: depcheck: ignore givebacks When an architecture encounters an installation error, the chance that dose and apt disagree is very high. Thus skip the relevant architecture until the next mirror push entirely. --- depcheck.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/depcheck.py b/depcheck.py index e417c72..ded5fab 100755 --- a/depcheck.py +++ b/depcheck.py @@ -461,8 +461,7 @@ def main(): mirror.update_release() db = sqlite3.connect("db") cur = db.cursor() - cur.execute("""SELECT architecture FROM depcheck - WHERE giveback = 1 OR releasetime < ?;""", + cur.execute("SELECT architecture FROM depcheck WHERE releasetime < ?;", (mirror.releasetime,)) archs = set(row[0] for row in cur.fetchall()) if not archs: -- cgit v1.2.3