summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_db_maintenance.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-01-12 13:02:19 +0100
committerHolger Levsen <holger@layer-acht.org>2017-01-12 13:02:19 +0100
commit1eb68afd35257ed52d1a00987736996e171f64e4 (patch)
tree709a13be195cf9578f3f82cbfc167c595b0d0147 /bin/reproducible_db_maintenance.py
parent93a522cbaffa3f59107b06e1ed587296bb6d9aaa (diff)
downloadjenkins.debian.net-1eb68afd35257ed52d1a00987736996e171f64e4.tar.xz
fixup 93a522cb: reproducible Debian: add a graph with diffoscope crashes and timeouts
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_db_maintenance.py')
-rwxr-xr-xbin/reproducible_db_maintenance.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index 649d13dd..7d88befd 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -593,12 +593,12 @@ schema_updates = {
],
30: [ # Add new table to track diffoscope breake
- "CREATE TABLE stats_breakage
- (datum TEXT NOT NULL,
+ '''CREATE TABLE stats_breakages
+ (datum TEXT,
diffoscope_timeouts INTEGER,
diffoscope_crashes INTEGER,
- PRIMARY KEY (datum))",
- "INSERT INTO rb_schema (version, date) VALUES (30, '" + now + "')"
+ PRIMARY KEY (datum))''',
+ '''INSERT INTO rb_schema (version, date) VALUES (30, '" + now + "')'''
],
}