From 93a522cbaffa3f59107b06e1ed587296bb6d9aaa Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 12 Jan 2017 12:55:20 +0100 Subject: reproducible Debian: add a graph with diffoscope crashes and timeouts Signed-off-by: Holger Levsen --- bin/reproducible_db_maintenance.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin/reproducible_db_maintenance.py') diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py index bace9618..649d13dd 100755 --- a/bin/reproducible_db_maintenance.py +++ b/bin/reproducible_db_maintenance.py @@ -591,6 +591,15 @@ schema_updates = { "ALTER TABLE results ALTER id SET DEFAULT NEXTVAL('results_id_seq')", "INSERT INTO rb_schema (version, date) VALUES (29, '" + now + "')" ], + + 30: [ # Add new table to track diffoscope breake + "CREATE TABLE stats_breakage + (datum TEXT NOT NULL, + diffoscope_timeouts INTEGER, + diffoscope_crashes INTEGER, + PRIMARY KEY (datum))", + "INSERT INTO rb_schema (version, date) VALUES (30, '" + now + "')" + ], } -- cgit v1.2.3-54-g00ecf