]> git.donarmstrong.com Git - bugscan.git/commitdiff
Switch the documentation to match the current default gnuplot colors
authorDon Armstrong <don@donarmstrong.com>
Mon, 4 Dec 2017 01:32:19 +0000 (17:32 -0800)
committerDon Armstrong <don@donarmstrong.com>
Mon, 4 Dec 2017 01:32:19 +0000 (17:32 -0800)
bugreport
dograph
dohtml

index 1fe0ffa24e1d9a331edb085e500f2ccb22c643e9..25e293a43c1a0ecbbb7e54be2ab83a9cd1d413b3 100755 (executable)
--- a/bugreport
+++ b/bugreport
@@ -159,13 +159,13 @@ sub MakeStatistics {
        }
 
        if ($html) {
        }
 
        if ($html) {
-               print "<strong><font color=\"red\">Total number of release-critical bugs</font>:</strong> $bugcount<BR>\n";
+               print "<strong><font color=\"#9400D3\">Total number of release-critical bugs</font>:</strong> $bugcount<BR>\n";
                printf("<strong>Number that have a patch:</strong> %d<BR>\n", $patchtotal);
                printf("<strong>Number that have a fix prepared and waiting to upload:</strong> %d<BR>\n", $pendingtotal);
                printf("<strong>Number that are being ignored:</strong> %d<BR>\n", $ignoretotal);
                printf("<strong>Number that have a patch:</strong> %d<BR>\n", $patchtotal);
                printf("<strong>Number that have a fix prepared and waiting to upload:</strong> %d<BR>\n", $pendingtotal);
                printf("<strong>Number that are being ignored:</strong> %d<BR>\n", $ignoretotal);
-               printf("<strong><font color=\"blue\">Number concerning the current stable release</font>:</strong> %d<BR>\n", $stabletotal);
-               printf("<strong><font color=\"green\">Number concerning the next release</font>:</strong> %d<P>\n", $worrytotal);
-               printf("<strong><font color=\"green\">Number concerning the previous stable release</font>:</strong> %d<P>\n", $oldstabletotal);
+               printf("<strong><font color=\"#56b4e9\">Number concerning the current stable release</font>:</strong> %d<BR>\n", $stabletotal);
+               printf("<strong><font color=\"#009e73\">Number concerning the next release</font>:</strong> %d<P>\n", $worrytotal);
+               printf("<strong><font color=\"#e69f00\">Number concerning the previous stable release</font>:</strong> %d<P>\n", $oldstabletotal);
        } else {
                print "Total number of release-critical bugs: $bugcount\n";
                printf("Number that have a patch: %d\n", $patchtotal);
        } else {
                print "Total number of release-critical bugs: $bugcount\n";
                printf("Number that have a patch: %d\n", $patchtotal);
diff --git a/dograph b/dograph
index ba6b822ea793fa6ba1cb7ad36d30db28bfaf5e54..3af59ab3bd8a581422e0ce4be783e9d9dbac2ee4 100755 (executable)
--- a/dograph
+++ b/dograph
@@ -38,6 +38,16 @@ set yrange [0:]
 #set xtics 2678400
 #set nomxtics
 set output "/org/bugs.debian.org/www/bugscan/graph.png"
 #set xtics 2678400
 #set nomxtics
 set output "/org/bugs.debian.org/www/bugscan/graph.png"
+set linetype  1 lc rgb "dark-violet" lw 1
+set linetype  2 lc rgb "#009e73" lw 1
+set linetype  3 lc rgb "#56b4e9" lw 1
+set linetype  4 lc rgb "#e69f00" lw 1
+set linetype  5 lc rgb "#f0e442" lw 1
+set linetype  6 lc rgb "#0072b2" lw 1
+set linetype  7 lc rgb "#e51e10" lw 1
+set linetype  8 lc rgb "black"   lw 1
+set linetype  9 lc rgb "gray50"  lw 1
+set linetype cycle  9
 plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines
 set xrange ["$previous_release":]
 set output "/org/bugs.debian.org/www/bugscan/graph-release.png"
 plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines
 set xrange ["$previous_release":]
 set output "/org/bugs.debian.org/www/bugscan/graph-release.png"
diff --git a/dohtml b/dohtml
index aa8041e8bf434853fae2d818dffbea3c0c607cdf..a205ad0a2550e10aafb4e984007a5fa3462fbede 100755 (executable)
--- a/dohtml
+++ b/dohtml
@@ -156,11 +156,11 @@ EOF
 </p>
 
 <p>
 </p>
 
 <p>
-  The red line graphs all bugs with release-critical severities; the green
-  line graphs the number of bugs that are actually a concern for the next
+  The <font color="#9400D3">dark-violet line</a> graphs all bugs with release-critical severities; 
+  the <font color="#009e73">dark green line</a> graphs the number of bugs that are actually a concern for the next
   release (excluding ignored bugs, bugs on packages not in testing, and bugs
   whose tags and/or versioning information indicate that they don't apply to
   release (excluding ignored bugs, bugs on packages not in testing, and bugs
   whose tags and/or versioning information indicate that they don't apply to
-  testing), and the blue line graphs the number of bugs that are a concern
+  testing), and the <font color="#56b4e9">cyan line</a> graphs the number of bugs that are a concern
   for the <em>current</em> stable release.
 </p>
 
   for the <em>current</em> stable release.
 </p>