summaryrefslogtreecommitdiffstats
path: root/bin/make_graph.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-03 18:15:26 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-03 18:15:26 +0100
commit26563dc1747f896e0cde2472dd47df5b8d2dae05 (patch)
treed2f6a075af04d9c51c1104a831ed8b75b6e8fd71 /bin/make_graph.py
parenta7154345ecbf41fefb54ff108f3118043e7c37a3 (diff)
downloadjenkins.debian.net-26563dc1747f896e0cde2472dd47df5b8d2dae05.tar.xz
reproducible: prepare for graphing 3 suites
Diffstat (limited to 'bin/make_graph.py')
-rwxr-xr-xbin/make_graph.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py
index f3969376..dd4d3dd6 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -30,9 +30,11 @@ def main():
# thanks to http://tango.freedesktop.org/Generic_Icon_Theme_Guidelines for those nice colors
if int(colors) < 6:
r('palette(c("#4e9a06", "#f57900", "#cc0000", "#2e3436", "#888a85"))')
- elif int(colors) == 8:
- r('palette(c("#4e9a06", "#73d216", "#ce5c00", "#f57900", \
- "#a40000", "#cc0000", "#2e3436", "#555753" ))')
+ elif int(colors) == 8: # once we have 12 colors, add: "#8ae234", "#fcaf3e", "#ef2929", "#888a85"
+ r('palette(c("#4e9a06", "#73d216", \
+ "#ce5c00", "#f57900", \
+ "#a40000", "#cc0000", \
+ "#2e3436", "#555753" ))')
else:
r('palette(c("#fce94f", "#c4a000", "#eeeeec", "#babdb6", \
"#fcaf3e", "#ce5c00", "#ad7fa8", "#5c3566", \