LShift Trac tools

This is a little collection of goodies we use in LShift Trac instances.

Trac is a bit of a favourite of ours, because is written in Python, and it's just so hackable: You can install trac, import it from Python and then open environments using their path. It's then easy to write scipts to generate reports, or do bulk administration.

It's also fairly straighforward to write plugins.

For now this is for expert users only: this is only a description of what is here.



If you use mercurial for your source control, you can use this macro to embed revision graphs in wiki pages. You can specify arbitrary revision set expressions to control the scope of the graph, so you can add a graph specific to a milestone, for example.

See hg-dotlog itself.



This is another macro that integrates another very handy tool into trac: js-sequence-diagrams

ticket roles


Create a set of roles in your workflow. For each ticket state, define the owning role. Assign users to roles for a specific ticket. This plugin will now update the owner as the ticket transitions through it's states.

This way of doing things means all the owner oriented reports still work.

It will also stop you moving a ticket into a state if the role for that state is empty.

This is a pretty useful example of integrating ticket workflow: this plugin plays nicely with other ticket workflow plugins.

reporter copy


Automatically copy the reporter, without CC'ing them