summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-05 15:58:04 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-05 15:58:04 +0200
commit9b9f5d978a4288285e6aef556dc4c709c58ee32f (patch)
tree9cf37ddef390ce5eeee43202eaa1eb1d24b11983 /bin
parent33113694c826d41ef225f271714ce61c3a37f44f (diff)
downloadjenkins.debian.net-9b9f5d978a4288285e6aef556dc4c709c58ee32f.tar.xz
reproducible: track new usertag 'locale'
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make_graph.py2
-rwxr-xr-xbin/reproducible_common.sh2
-rwxr-xr-xbin/reproducible_db_maintenance.py4
-rwxr-xr-xbin/reproducible_html_graphs.sh2
4 files changed, 7 insertions, 3 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py
index c86e64a8..9bd3cad4 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -43,7 +43,7 @@ def main():
"#888a85", "#2e3436", "#75507b", "#cc0000", \
"#ce5c00", "#73d216", "#edd400", "#f57900", \
"#c17d11", "#3465a4", "#666666", "#aaaaaa", \
- "#aa00aa", "#ff55ff" ))')
+ "#aa00aa", "#ff55ff", "#123456", "#7890ab" ))')
elif int(colors) == 40:
r('palette(c("#4e9a06", "#000000"))')
elif int(colors) == 41:
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 98301e78..4b6fc2f0 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -45,7 +45,7 @@ ARCHES="amd64"
NUM_CPU=$(grep -c '^processor' /proc/cpuinfo)
# existing usertags
-USERTAGS="toolchain infrastructure timestamps fileordering buildpath username hostname uname randomness buildinfo cpu signatures environment umask ftbfs"
+USERTAGS="toolchain infrastructure timestamps fileordering buildpath username hostname uname randomness buildinfo cpu signatures environment umask ftbfs locale"
# we only need them for html creation but we cannot declare them in a function
declare -A SPOKENTARGET
diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index ae7f1715..a8642b91 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -423,6 +423,10 @@ schema_updates = {
'ALTER TABLE results ADD COLUMN builder TEXT NOT NULL DEFAULT ""',
'ALTER TABLE stats_build ADD COLUMN builder TEXT NOT NULL DEFAULT ""',
'INSERT INTO rb_schema VALUES ("17", "' + now + '")'],
+ 18: [ # add columns to stats_bugs for new usertag locale
+ '''ALTER TABLE stats_bugs ADD COLUMN open_locale INTEGER DEFAULT "0"''',
+ '''ALTER TABLE stats_bugs ADD COLUMN done_locale INTEGER DEFAULT "0"''',
+ 'INSERT INTO rb_schema VALUES ("18", "' + now + '")'],
}
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index e34fba66..3becf9f8 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -56,7 +56,7 @@ SUM_OPEN="$SUM_OPEN)"
COLOR[0]=5
COLOR[1]=12
COLOR[2]=1
-COLOR[3]=30
+COLOR[3]=32
COLOR[4]=1
COLOR[5]=1
COLOR[6]=4