summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-04 11:19:13 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-04 11:19:13 +0100
commit0a0c1b5aa4c9c3139f28f0e5eea8a7b0b1cf2da2 (patch)
treeeddf80bc53c4c82c97a034716101ea3236ef1dad /bin
parent37b33e51e0393c2b2d519235be72a7db776cdc2c (diff)
downloadjenkins.debian.net-0a0c1b5aa4c9c3139f28f0e5eea8a7b0b1cf2da2.tar.xz
reproducible: track new usertag: buildinfo
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make_graph.py4
-rwxr-xr-xbin/reproducible_common.sh2
-rwxr-xr-xbin/reproducible_html_graphs.sh4
3 files changed, 6 insertions, 4 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py
index 99866fc5..70e02adc 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -35,14 +35,14 @@ def main():
"#fcaf3e", "#ce5c00", "#ad7fa8", "#5c3566", \
"#e9b96e", "#8f5902", "#8ae234", "#4e9a06", \
"#729fcf", "#204a87", "#ef2929", "#a40000", \
- "#888a85", "#2e3436"))')
+ "#888a85", "#2e3436", "#75507b", "#cc0000"))')
r('v <- t[0:nrow(t),0:'+colors+']')
# make graph since day 1
r('barplot(t(v),col = 1:'+columns+', main="'+mainlabel+'", xlab="", ylab="'+ylabel+'", space=0, border=NA)')
if int(colors) < 10:
r('legend(x="bottom",legend=colnames(t), ncol=2,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")')
else:
- r('legend(x="bottom",legend=colnames(t), ncol=9,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")')
+ r('legend(x="bottom",legend=colnames(t), ncol=10,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")')
grdevices.dev_off()
if __name__ == "__main__":
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index d505b6f9..f6924f67 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -93,6 +93,8 @@ elif [ ! -f ${PACKAGES_DB} ] ; then
done_uname INTEGER,
open_randomness INTEGER,
done_randomness INTEGER,
+ open_buildinfo INTEGER,
+ done_buildinfo INTEGER,
PRIMARY KEY (datum))'
sqlite3 ${PACKAGES_DB} '
CREATE TABLE stats_notes
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 1b82fb6d..25881d1a 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -103,7 +103,7 @@ for i in $(seq 1 ${#META_PKGSET[@]}) ; do
done
# query bts
-USERTAGS="toolchain infrastructure timestamps fileordering buildpath username hostname uname randomness"
+USERTAGS="toolchain infrastructure timestamps fileordering buildpath username hostname uname randomness buildinfo"
RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT * from ${TABLE[3]} WHERE datum = \"$DATE\"")
if [ -z $RESULT ] ; then
declare -a DONE
@@ -143,7 +143,7 @@ FIELDS[6]="datum, reproducible, unreproducible, FTBFS, other"
COLOR[0]=5
COLOR[1]=4
COLOR[2]=3
-COLOR[3]=18
+COLOR[3]=20
COLOR[4]=1
COLOR[5]=1
COLOR[6]=4