New Whiteboard Plugin for Trac

Posted by Brian Tue, 03 Aug 2010 17:00:00 GMT

I have started work on a new plugin for Trac that will provide an whiteboard view of query results. It doesn’t do anything yet, but you can check it out at Trac-Hacks. The ultimate goal is to provide a kanban-style view of your query results with drag-and-drop support for changing a ticket’s status.

Tags ,  | no comments

Integrating Batch Modify Into Trac

Posted by Brian Sun, 27 Jun 2010 17:40:00 GMT

Some preliminary discussion on moving the Trac Batch Modify Plugin into Trac has been started here. The proposal page outlines some of the issues that need worked out before adding this functionality into the Trac core, some of which will be worked out in the plugin in the meantime. For example, I have never liked the current UI. It predates the custom query functionality and should be reworked to use a UI similar to that.

If you are a user of the plugin and wish to contribute some thoughts please add them to the the ticket or to the proposal page.

Posted in  | Tags ,  | no comments

Batch Modify 0.6.0 Released

Posted by Brian Sat, 19 Jun 2010 19:38:00 GMT

I released a new version (0.6.0) of the Trac Batch Modify Plugin. This version fixes a bug that caused unexpected results when adding keywords to multiple tickets. You know, modifying them in a batch. Oops. Thanks to beachroad for the patch that corrected this. That same patch also fixed the redirect after a batch modify to bring you back to the same query page.

This release also adds the ability to add keywords from a batch of tickets by putting ‘-’ before the name of the keyword to remove. Thanks to oliver for this patch. There are also new configuration options for list fields, such as keywords. See the plugin page for more details on how to use these. Thanks again to beachroad for providing that patch.

Posted in  | Tags , ,  | no comments

Batch Modify 0.5.0 Released

Posted by Brian Sun, 16 May 2010 03:08:00 GMT

On May 13 I released a new version (0.5.0) of the Trac Batch Modify Plugin. This version adds better support for keyword separators (you can now use any non-alphanumeric character) and the ability to perform a batch modify without changing the last modified time. This is most useful if you are using this plugin in conjunction with the Trac Unread Plugin. Thanks to daltonmatos for this patch.

This is also the first release with separate versions for Trac 0.11 and 0.12. This was necessary to support the last modified time feature. Trac 0.12 changes timestamps to POSIX microseconds from POSIX seconds.

Posted in  | Tags , ,  | no comments

Ease of Trac

Posted by Brian Wed, 03 Mar 2010 23:15:00 GMT

I wanted to take the time to highlight how easy it is to hook into Trac. A couple of months ago I had never even looked at the Trac code base in any meaningful way, let alone wrote anything with it. That changed when we wanted some customizations done at work.

Our (now canceled) BPM initiative uses Teamworks as the engine. Unfortunately, Teamworks 6 offers no version control at all, which makes it very difficult to keep track of what you have changed for a particular release. To get around this we wanted to start listing these on Trac tickets in a way that would allow them to be aggregated into a list that could be used for deployment and to see who else was working with a particular item. To do this I created a macro that scrapes the individual items from text areas into a neatly formatted list. Using the Trac and Genshi APIs this was very easy. The only hurdle was my mediocre Python skills. I haven’t put this up on Trac-Hacks, but I may do so at some point. It’s still a little rough around the edges for general use.

Around this time I also discovered the batch modify plugin, which would make our release engineer’s life much easier. Unfortunately it was unmaintained and broken. I fixed it internally and then offered to officially take over the plugin. Once again most of the pain has been in my lack of Python experience, but Trac itself is very powerful. It’s amazing how little code is actually in the plugin. Kudos to the Trac team.

I may get some more hands on experience in the future as well. The batch modify plugin may be merged into Trac itself and I have a kanban board plugin that I have been working on a little in my spare time that would give an alternative view to query results.

Tags ,  | no comments

Batch Modify 0.4.1 Released

Posted by Brian Sun, 21 Feb 2010 21:13:00 GMT

On Friday I released a bug fix to the Trac batch modify plugin that addresses a problem users of Trac 0.11 and 0.11.1 were seeing. 0.4 changed the batch modify form to respect the restrict_owner setting, but it does this through a method in the Trac ticket API that did not exist until 0.11.2. This bug fix simply checks to make sure your version of Trac supports this call before attempting to use it.

Posted in  | Tags , ,  | no comments

Batch Modify 0.4 Released

Posted by Brian Wed, 17 Feb 2010 01:32:00 GMT

I released the next version (0.4) of the Trac batch modify plugin today. This release fixes a bug that caused the form checkboxes not to enable the corresponding field when checked. This bug was introduced in 0.3 when I removed some deprecated JQuery syntax. A couple of enhancements were included as well. The restrict_owner config option will now be respected on the form and new keywords will now be merged with the old keywords on each ticket. Previously the old keywords were simply thrown away.

Posted in  | Tags , ,  | no comments

Batch Modify 0.3 Released

Posted by Brian Tue, 26 Jan 2010 23:30:00 GMT

A few weeks ago I started maintaining the batch modify plugin for Trac. This plugin does pretty much what its name says. It allows you to modify Trac tickets in a batch. Prior to my taking it over it had not been maintained for over a year and didn’t even work on Trac 0.11. This version fixes a couple of bugs so the plugin actually works and gives a couple of UI enhancements. Details are available here.

There are a lot more bugs and feature requests to go through. Hopefully I will have another release in about a month.

On a personal note this is my first open source project that people actually use and it is quite enjoyable. pyFish is a lot more complicated of a project, but nobody besides me actually uses it.

Posted in  | Tags ,  | no comments

pyFish Trac Page

Posted by Brian Mon, 23 Mar 2009 23:40:00 GMT

I have set up a Trac site for my pyFish project at http://pyfish.curiouscurmudgeon.com/. I am hoping to do some more work this weekend to properly setup the site and to finish writing a guide on setting up Trac on Bluehost. Then I will be able to get to work on actually writing some Python.

Tags , ,  | no comments