<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 30, 2012 at 4:07 PM, R. David Murray <span dir="ltr"><<a href="mailto:rdmurray@bitdance.com" target="_blank">rdmurray@bitdance.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Fri, 30 Nov 2012 14:38:12 -0500, Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br>
> Do we have a graph of the historical trend of the number of bugs (or at<br>
> least the historical details stored somewhere)? I think we have had a net<br>
<br>
</div>Not really. Ezio made one by hand once, but there is nothing automated.<br>
<br>
The historical details are stored only in the mailing list archives, as<br>
far as I know. In theory I think you could re-calculate them from the<br>
Roundup DB, but for various reasons the numbers would probably come out<br>
slightly different. Still, getting the data from the DB would be better<br>
than parsing the emails, since for one reason and another there are<br>
missing Friday reports, and reports that were issued on non-Friday<br>
dates.<br>
<div class="im"><br>
> decrease in open bugs the last couple of weeks and it would be neat to see<br>
> an absolute and relative graph of the overall trend since Python 3.3.0 was<br>
> released. Also might make a nice motivator to try to close issues faster. =)<br>
><br>
> Otherwise is the code public for this somewhere? I assume it's making an<br>
<br>
</div>Yes. It is in the software repository for our roundup instances:<br>
<br>
<a href="http://hg.python.org/tracker/python-dev/file/default/scripts/roundup-summary" target="_blank">http://hg.python.org/tracker/python-dev/file/default/scripts/roundup-summary</a><br>
<br>
(Be warned that that isn't the location from which the script is<br>
executed, so it is possible for what is actually running to get out of<br>
sync with what is checked in at that location.)<br>
<div class="im"><br>
> XML-RPC call or something every week to get the results, but if I decide to<br>
<br>
</div>Nope, it talks directly to the DB. And as you will see, it is more<br>
than a bit gnarly.<br>
<div class="im"><br></div></blockquote><div><br></div><div>I think I could also download the csv file and parse that to get whatever data I wanted.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">
> do a little App Engine app to store historical data and do a graph I would<br>
> rather not have to figure all of this out from scratch. =) Although I could<br>
> I guess also parse the email if I wanted to ignore all other emails.<br>
<br>
</div>I'm not sure how one would go about integrating the above with an App<br>
Engine app. I suspect that not quite enough information is available<br>
through the XML-RPC interface to replicate that script, but maybe you<br>
could manage just the open-close counting part of it. I haven't<br>
looked at what it would take.<br></blockquote><div><br></div><div>It really depends on what statistics I cared about (e.g. there are less than 4000 bugs while there are less than 25,000 closed bugs). If I just did high-level statistics it wouldn't be bad, but if I try to track every issue independently that might be annoying (and actually cost money for me, although I already personally pay for <a href="http://py3ksupport.appspot.com">py3ksupport.appspot.com</a> so I can probably piggyback off of that app's quota). We will see if this ever goes anywhere. =)<br>
</div></div></div>