[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: track new usertag 'locale'

Holger Levsen holger at moszumanska.debian.org
Sun Jul 5 13:58:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 9b9f5d978a4288285e6aef556dc4c709c58ee32f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Jul 5 15:58:04 2015 +0200

    reproducible: track new usertag 'locale'
---
 bin/make_graph.py                  | 2 +-
 bin/reproducible_common.sh         | 2 +-
 bin/reproducible_db_maintenance.py | 4 ++++
 bin/reproducible_html_graphs.sh    | 2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/bin/make_graph.py b/bin/make_graph.py
index c86e64a..9bd3cad 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 98301e7..4b6fc2f 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 ae7f171..a8642b9 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 e34fba6..3becf9f 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list