[Piuparts-commits] rev 911 - in trunk: . debian

Holger Levsen holger at alioth.debian.org
Sat Jul 9 23:39:33 UTC 2011


Author: holger
Date: 2011-07-09 23:39:33 +0000 (Sat, 09 Jul 2011)
New Revision: 911

Modified:
   trunk/debian/changelog
   trunk/piuparts-report.py
Log:
* piuparts-report.py: 
  - correct a typo from the patch for #523950.
  - make_stats_graph: draw the two new states as well.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2011-07-09 22:54:10 UTC (rev 910)
+++ trunk/debian/changelog	2011-07-09 23:39:33 UTC (rev 911)
@@ -18,10 +18,12 @@
      b) "no-dependency-from-alternatives-exists": if none of the alternatives 
         can be found in the archive.
     (Closes: #526045)
-  * piuparts-report.py: correct a typo from the patch for #523950.
+  * piuparts-report.py: 
+    - correct a typo from the patch for #523950.
+    - make_stats_graph: draw the two new states as well.
   * Make piuparts use proxy settings either from apt configuration or
     http_proxy environment variable, the latter overwriting the former (if
-    present) - Thanks to Scott Schaefer for the patch. (Closes: #632046) 
+    present) - Thanks to Scott Schaefer for the patch. (Closes: #632046)  
 
  -- Holger Levsen <holger at debian.org>  Sat, 25 Jun 2011 23:33:49 +0200
 

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2011-07-09 22:54:10 UTC (rev 910)
+++ trunk/piuparts-report.py	2011-07-09 23:39:33 UTC (rev 911)
@@ -880,9 +880,9 @@
         # make graph since day 1  
         r('v <- t[0:nrow(t),0:10]')
         # thanks to http://tango.freedesktop.org/Generic_Icon_Theme_Guidelines for those nice colors
-        r('palette(c("#4e9a06", "#ef2929", "#d3d7cf", "#5c3566", "#c4a000", "#fce94f", "#a40000", "#888a85", "#2e3436", "#729fcf", "#204a87"))')
+        r('palette(c("#4e9a06", "#ef2929", "#d3d7cf", "#5c3566", "#c4a000", "#fce94f", "#a40000", "#888a85", "#2e3436", "#729fcf", "3465a4", "#204a87", "555753"))')
         r('bitmap(file="'+pngfile+'",type="png16m",width=16,height=9,pointsize=10,res=100)')
-        r('barplot(t(v),col = 1:11, main="Binary packages per state in '+self._config.section+'", xlab="", ylab="Number of binary packages",space=0.1,border=0)')
+        r('barplot(t(v),col = 1:13, main="Binary packages per state in '+self._config.section+'", xlab="", ylab="Number of binary packages",space=0.1,border=0)')
         r('legend(x="bottom",legend=colnames(t), ncol=2,fill=1:11,xjust=0.5,yjust=0,bty="n")')
         return "<tr class=\"normalrow\"> <td class=\"contentcell2\" colspan=\"3\"><a href=\"%s\"><img src=\"/%s/%s\" height=\"450\" width=\"800\" alt=\"Binary package states in %s\"></a></td></tr>\n" % ("states.png", self._config.section, "states.png", self._config.section)
 




More information about the Piuparts-commits mailing list