Archive for November, 2006

Publish Revert Trac Plugin

Friday, November 10th, 2006

I’ve made a lot of pretty useful changes to Trac and I’m wrapping them all up in a Publish Revert Trac Plugin.

The basic functionality of Trac to manage the development process is missing a few things.

  1. It doesn’t associate subversion revisions with a ticket
  2. There is no way to easily publish just the files that are related to a ticket

These two things are exactly what my plugin addresses. It uses a post-commit hook in subversion to associate revisions with tickets. A developer just needs to reference the ticket in their commit message and the post-commit hook associates the revision number to the ticket. We use this because when we finish a ticket we want to know what to publish to our production server. This functionality already works and its really saved a lot of time being able to see all the files and the correct revision numbers we need to update when a ticket is ready to publish.

What I’m working on now is a Publish/Revert button to this plugin. It will allow us to simply press a button to publish or revert changes to your production environment. This will save even more time since you won’t have to manually do an svn update. Mistakes happen and we’ve screwed things up on production a few times because of using svn update incorrectly. With the publish and revert buttons, you will be able to save the headache of updating your production environment.