On  0, Mehdi Dogguy <[email protected]> wrote:
> On  0, Mehdi Dogguy <[email protected]> wrote:
> > Steve Langasek <[email protected]> wrote:
> > > Package: bugs.debian.org
> > > 
> > > The legend on http://bugs.debian.org/release-critical/ is very difficult 
> > > to
> > > scan; to figure out which line is which in the graph, you have to read the
> > > entire block of text.  Using colors in the legend that match the graph
> > > itself would make it easier to pinpoint the bits of info you're looking 
> > > for.
> > > 
> > 
> > I didn't find the script that generates the index.html page, so I
> > patched the index.html. It gives at least an idea of what we (at least
> > I) 'd like to see on the page. (patch attached).
> > 
> > Please consider applying it.
> > 
> 
> hum... or even better, this new patch. (I personally prefer this one).
> 

oh. found it! Here is the real patch :) (attached)

Regards,

-- 
Mehdi Dogguy
--- dohtml.orig	2011-06-10 22:06:45.000000000 +0200
+++ dohtml	2011-06-10 22:07:04.000000000 +0200
@@ -97,13 +97,6 @@
 
 <div align="center"><img src="graph.png" alt="Graph of RC bugs"></div>
 
-<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
-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
-for the <em>current</em> stable release.</p>
-
 <h2>Recent changes</h2>
 EOF
 
--- bugreport.orig	2011-06-10 22:06:52.000000000 +0200
+++ bugreport	2011-06-10 22:09:06.000000000 +0200
@@ -152,12 +152,12 @@
 	}
 
 	if ($html) {
-		print "<strong>Total number of release-critical bugs:</strong> $bugcount<BR>\n";
+		print "<strong><font color=\"red\">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 concerning the current stable release:</strong> %d<BR>\n", $stabletotal);
-		printf("<strong>Number concerning the next release:</strong> %d<P>\n", $worrytotal);
+		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);
 	} else {
 		print "Total number of release-critical bugs: $bugcount\n";
 		printf("Number that have a patch: %d\n", $patchtotal);

Reply via email to