summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-15 22:10:33 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-15 22:10:33 +0200
commitaf3663a95adb346b02efe09ae7e12c03c0a7277d (patch)
tree2fde1378b0df1bc4b179cac3ce931620bc6e7bf4 /bin/reproducible_common.sh
parent7b8f67a2692d2936e7f1a123a9370e6229deea89 (diff)
downloadjenkins.debian.net-af3663a95adb346b02efe09ae7e12c03c0a7277d.tar.xz
reproducible: include bugs with usertags in stats
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 3e77542a..4f58569b 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -69,6 +69,28 @@ elif [ ! -f ${PACKAGES_DB} ] ; then
oldest_unreproducible REAL,
oldest_FTBFS REAL,
PRIMARY KEY (datum))'
+ sqlite3 ${PACKAGES_DB} '
+ CREATE TABLE stats_bugs
+ (datum TEXT NOT NULL,
+ open_toolchain INTEGER,
+ done_toolchain INTEGER,
+ open_infrastructure INTEGER,
+ done_infrastructure INTEGER,
+ open_timestamps INTEGER,
+ done_timestamps INTEGER,
+ open_fileordering INTEGER,
+ done_fileordering INTEGER,
+ open_buildpath INTEGER,
+ done_buildpath INTEGER,
+ open_username INTEGER,
+ done_username INTEGER,
+ open_hostname INTEGER,
+ done_hostname INTEGER,
+ open_uname INTEGER,
+ done_uname INTEGER,
+ open_randomness INTEGER,
+ done_randomness INTEGER,
+ PRIMARY KEY (datum))'
# 60 seconds timeout when trying to get a lock
cat >/var/lib/jenkins/reproducible.init <<-EOF
.timeout 60000