Hi all Trac friends I am very pleased to announce my first ever plugin for Trac at Trac Hacks. The TracTicketChangesetsPlugin hooks into changeset notifications and searches commit messages for ticket references. Referenced tickets are updated with the commit message, and all concerning changesets for a ticket are presented in a separate section on ticket pages, just above the change history section.
The plugin works with multiple repositories. Language is translated if Babel is installed. Please note: The plugin is not compatible with Trac 0.11 or older versions. See http://trac-hacks.org/wiki/TracTicketChangesetsPlugin for details. The main reason for me creating this plugin was that a similar behaviour have been added on existing Trac 0.11 sites that I am involved in, but as part of commit hook scripts which updates a custom ticket field (which contains all related revisions for the ticket). This has annoyed me for a long time now, since that field was presented to the end-user among all other ticket fields during edit. It looked quite ugly, and didn't allow for intelligent actions when a commit message was altered afterwards. Trac 0.12 allows this to be solved in a very fashionable way, I think. The source of this plugin is based on code distributed with Trac 0.12 (tracopt/ticket/commit_updater.py), and parts of DiscussionPlugin (database upgrade handling) and the CloneTicketPlugin provided by Christian Boos. Thanks to you all! Since this is my first serious contribution, after have been spending some time digging around the Trac code (and I am still in a learning process, and will be for a long time) I would really appreciate constructive feedback (and bug reports of course ;) Sincerely yours, Mikael Relbe -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.
