[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: fix colors in 'amount of packages build each day on $ARCH' graphs

Holger Levsen holger at layer-acht.org
Fri Sep 29 12:48:41 UTC 2017


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 70e7fc4d14208539771ea763934fa49c61f3a1a9
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Sep 29 14:48:13 2017 +0200

    reproducible Debian: fix colors in 'amount of packages build each day on $ARCH' graphs
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/make_graph.py                  | 10 +++++-----
 bin/reproducible_html_dashboard.sh |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/make_graph.py b/bin/make_graph.py
index ebe98f5..18a06e4 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -32,11 +32,11 @@ def main():
     # thanks to http://tango.freedesktop.org/Generic_Icon_Theme_Guidelines for those nice colors
     if int(colors) < 6:
         r('palette(c("#73d216", "#f57900", "#cc0000", "#2e3436", "#888a85"))')
-    elif int(colors) == 12:
-        r('palette(c("#4e9a06", "#73d216", "#8ae234", \
-                     "#ce5c00", "#f57900", "#fcaf3e", \
-                     "#a40000", "#cc0000", "#ef2929", \
-                     "#2e3436", "#555753", "#888a85" ))')
+    elif int(colors) == 16:
+        r('palette(c("#4e9a06", "#57a231", "#73d216", "#8ae234", \
+                     "#ce5c00", "#f57900", "#fcaf3e", "#fcda27", \
+                     "#a40000", "#cc0000", "#ef2929", "#fc2a1a", \
+                     "#2e3436", "#555753", "#888a85", "#b8bbb4" ))')
     elif int(colors) < 39:
         r('palette(c("#fce94f", "#c4a000", "#eeeeec", "#babdb6", \
                      "#fcaf3e", "#ce5c00", "#ad7fa8", "#5c3566", \
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index 5600b47..02e25a7 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -76,7 +76,7 @@ done
 REPRODUCIBLE_DONE="$REPRODUCIBLE_DONE)"
 REPRODUCIBLE_OPEN="$REPRODUCIBLE_OPEN)"
 COLOR[0]=5
-COLOR[1]=12
+COLOR[1]=16
 COLOR[2]=1
 COLOR[3]=32
 COLOR[4]=1

-- 
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