[Piuparts-commits] [piuparts] 01/01: bts_stats: swap stacking

Holger Levsen holger at moszumanska.debian.org
Thu May 22 11:40:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit dba066552cf8a333ba51e37a8a2fcab34dac1a77
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu May 22 13:40:20 2014 +0200

    bts_stats: swap stacking
---
 master-bin/gather_bts_stats.in | 5 +++--
 piuparts-report.py             | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/master-bin/gather_bts_stats.in b/master-bin/gather_bts_stats.in
index 94666cb..2db3eec 100755
--- a/master-bin/gather_bts_stats.in
+++ b/master-bin/gather_bts_stats.in
@@ -51,8 +51,9 @@ fi
 
 # init file if needed
 if [ ! -f $BTS_STATS ] ; then
-	echo "date, done_rc, open_rc, done_other, open_other" > $BTS_STATS
+	echo "date, non-RC done, non-RC open, RC done, RC open" > $BTS_STATS
+
 fi
 
 # finally, write stats
-echo "$TODAY, $DONE_RC, $OPEN_RC, $DONE_OTHER, $OPEN_OTHER" >> $BTS_STATS
+echo "$TODAY, $DONE_OTHER, $OPEN_OTHER, $DONE_RC, $OPEN_RC" >> $BTS_STATS
diff --git a/piuparts-report.py b/piuparts-report.py
index 11c856e..836aaf1 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -1640,7 +1640,7 @@ def make_bts_stats_graph(master_dir, out_dir):
     # make graph since day 1
     r('v <- t[0:nrow(t),0:4]')
     # tango colors again:
-    r('palette(c("#4e9a06", "#a40000", "#8ae234", "#ef2929"))')
+    r('palette(c("#8ae234", "#ef2929", "#4e9a06", "#a40000"))')
     r('barplot(t(v),col = 1:5, \
         main="Bugs with usertag=piuparts and user=debian-qa at lists.debian.org", \
         xlab="", ylab="Total number of RC and non-RC bugs submitted and closed", space=0, border=NA)')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list