Twisted Weekly Bug Email
Features email notification for mailing lists and a Trac plugin displaying archived ticket stats.
The Weekly Bug Email script should be re-factored so it can be used in other projects as well.
Because of the way the image (png) data is embedded in the emails, mailman goes a little crazy and can't display this inline data or turn it into an attachment. So a good solution would probably be an image attachment, displayed in the .html version? Second of all, having these emails archived, so writing the .html and .png to disk, would be another must-have. This would allow us to create an archive, which then could be displayed in Trac.
- pulls records from the Trac database
- creates the stats data
- renders the graph
- writes .html stats and .png graph to disk
- expose stats data through XML-RPC
- exposes an archive view of the stats in Trac when visiting mytrac.org/stats
To tell the Trac plugin to do this every night, week, hour etc it would receive an request from a (XML-)RPC client, like a twistd application, and also return the .html and .png to that server. It's then up to that machine to email it, blog it, archive it as well etc.