Trac ticket graph?

Joshua Root jmr at macports.org
Mon Apr 30 00:21:36 UTC 2018


On 2018-4-30 10:11 , Perry E. Metzger wrote:
> On Mon, 30 Apr 2018 08:37:51 +1000 Joshua Root <jmr at macports.org>
> wrote:
>> You may be interested to know that this has been done before:
>>
>> <https://lists.macports.org/pipermail/macports-dev/2008-February/004634.html>
>>
>> <http://web.archive.org/web/20090717230249/http://student.physik.uni-mainz.de/~reiffert/macports/>
> 
> The script doesn't seem to exist in the internet archive though. :(

I have a copy. Here you go. :-)

- Josh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: status.sh
Type: application/x-sh
Size: 2280 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20180430/13a0be88/attachment.sh>
-------------- next part --------------
set format x "%d/%m/%y"
set xtics rotate
set grid
set terminal png
set xdata time
set ylabel "Active tickets"
set xlabel "\nDate"
set title "Active tickets by status over time for 2002 - now"
set timefmt "%Y-%m-%d"
set output "ticket-status-all.png"
plot [ ] [0:] "ticket-status-all.txt" using 1:2 ti "assigned" with lines, \
	"ticket-status-all.txt" using 1:3 ti "reopened" with lines, \
	"ticket-status-all.txt" using 1:4 ti "new (with owner)" with lines, \
	"ticket-status-all.txt" using 1:5 ti "new (no owner)" with lines, \
	"ticket-status-all.txt" using 1:($2+$3+$4+$5) ti "Sum" with lines
-------------- next part --------------
set format x "%d/%m/%y"
set xtics rotate
set grid
set terminal png
set xdata time
set ylabel "Active tickets"
set xlabel "\nDate"
set title "Active tickets by type over time for 2002 - now"
set timefmt "%Y-%m-%d"
set output "ticket-type-all.png"
plot [ ] [0:] "ticket-type-all.txt" using 1:2 ti "defect" with lines, \
	"ticket-type-all.txt" using 1:3 ti "enhancement" with lines, \
	"ticket-type-all.txt" using 1:4 ti "update" with lines, \
	"ticket-type-all.txt" using 1:5 ti "submission" with lines, \
	"ticket-type-all.txt" using 1:6 ti "request" with lines, \
	"ticket-type-all.txt" using 1:($2+$3+$4+$5+$6) ti "Sum" with lines


More information about the macports-dev mailing list