Add 'patched' PRs to the stats graph.

PR:		www/37828
Submitted by:	Johan Karlsson <k@numeri.campus.luth.se>
Approved by:	phk
This commit is contained in:
Brian S. Dean 2002-06-13 23:57:54 +00:00
parent c513a4c953
commit 0b5c7ced06
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=13393
2 changed files with 13 additions and 8 deletions

View file

@ -1,11 +1,11 @@
#!/usr/local/bin/tclsh8.3
#
# $FreeBSD$
# $FreeBSD: www/tools/prstats/eval.tcl,v 1.1 2001/10/29 01:58:12 murray Exp $
#
set fi [open "|sort -n _"]
set fo [open "__" w]
set v {open feedback analyzed suspended closed }
set v {open feedback analyzed suspended patched closed }
foreach i $v {
set $i 0

View file

@ -1,4 +1,4 @@
# $FreeBSD$
# $FreeBSD: www/tools/prstats/g,v 1.1 2001/10/29 01:58:12 murray Exp $
#
set term png small color
set xdata time
@ -12,14 +12,16 @@ set format x "%Y"
plot '__' using 1:4 title "open", \
'__' using 1:5 title "feedback", \
'__' using 1:6 title "analyzed" , \
'__' using 1:7 title "suspended"
'__' using 1:7 title "suspended", \
'__' using 1:8 title "patched"
set output "gnats1.png"
set format x "%H:%M"
plot '__1' using 1:4 title "open" with linespo, \
'__1' using 1:5 title "feedback", \
'__1' using 1:6 title "analyzed" , \
'__1' using 1:7 title "suspended"
'__1' using 1:7 title "suspended", \
'__1' using 1:8 title "patched"
set output "gnats1r.png"
plot '__1' using 1:4 title "open" with linespo
@ -29,7 +31,8 @@ set format x "%m/%d"
plot '__7' using 1:4 title "open", \
'__7' using 1:5 title "feedback", \
'__7' using 1:6 title "analyzed" , \
'__7' using 1:7 title "suspended"
'__7' using 1:7 title "suspended", \
'__7' using 1:8 title "patched"
set output "gnats7r.png"
plot '__7' using 1:4 title "open"
@ -39,7 +42,8 @@ set format x "%Y/%m/%d"
plot '__30' using 1:4 title "open", \
'__30' using 1:5 title "feedback", \
'__30' using 1:6 title "analyzed" , \
'__30' using 1:7 title "suspended"
'__30' using 1:7 title "suspended", \
'__30' using 1:8 title "patched"
set output "gnats30r.png"
plot '__30' using 1:4 title "open"
@ -49,7 +53,8 @@ set format x "%Y/%m/%d"
plot '__365' using 1:4 title "open", \
'__365' using 1:5 title "feedback", \
'__365' using 1:6 title "analyzed" , \
'__365' using 1:7 title "suspended"
'__365' using 1:7 title "suspended", \
'__365' using 1:8 title "patched"
set output "gnats365r.png"
plot '__365' using 1:4 title "open"