Twisted Weekly Bug Email

Registered by Thijs Triemstra

Features email notification for mailing lists and a Trac plugin displaying archived ticket stats.

Blueprint information

Status:
Started
Approver:
Jean-Paul Calderone
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
Thijs Triemstra
Definition:
Discussion
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Thijs Triemstra

Whiteboard

The Weekly Bug Email script should be re-factored so it can be used in other projects as well.

Trac Plugin
=========

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

Twisted Application
===============

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.

Thoughts?

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.