wiki:TicketModifiedFilesPlugin

Version 30 (modified by rjollos, 13 months ago) (diff)

Added page outline.

Listing modified files per ticket in Trac

Description

TicketModifiedFiles is a plugin that lists the files that have been modified during the resolution of a ticket (i.e. ticket-related modified files).
It also checks if those files have been modified to resolve other tickets, in order to warn the developer about possible conflicting tickets.

Bugs/Feature Requests

Existing bugs and feature requests for TicketModifiedFilesPlugin are here (all tickets ever created: here). If you have any issues, create a new ticket.

Defects and Enhancements

You can browse the source with Trac, or visit TicketModifiedFiles's Ohloh page.

Easy way

If you have a recent version of Setuptools installed, you can just do:

easy_install http://trac-hacks.org/svn/ticketmodifiedfilesplugin

Alternative

  1. Download TicketModifiedFiles as a zip file or grab the source from SVN.
  2. Build and install an egg from this source.

(Note: Requires Genshi >=0.5. If you have an earlier version, the latest development version should be installed automatically. If not, please install the latest version of Genshi.)

Enabling TicketModifiedFilesPlugin

You have to explicitly enable the plugin. This is done in the [components] section of the configuration file conf/trac.ini, where you need to add:

ticketmodifiedfiles.* = enabled

(Note: You might need to have to create the [components] section if this is the first plugin you're installing)

Then reload/restart your webserver/tracd. That's it.

Extra configuration

This step is optional.
By default, tickets that are in the "closed" state are ignored when looking for conflicting tickets. You can change this behavior in the 'conf/trac.ini' file by creating a new section:

[modifiedfiles]
ignored_statuses = closed, documentation

(Note: if you leave the ignored_statuses parameter empty, there will be no ignored status)

Recent Changes

[11457] by rjollos on 2012-04-08 00:27:06
Refs #8688: Modified Genshi transformer so that it can find a match in Trac 0.12 and inject the modified files link below the Change History, as it does in Trac 0.11. This change should preserve the functionality in Trac 0.11.
[9703] by rjollos on 2010-12-24 07:41:12
Moved 'Back to Ticket #X' link to the contextual navigation. Fixes #5486.
[9697] by e2jk on 2010-12-20 22:26:12
Changing the License to use a "plain BSD". This is done simultaneously with the change of maintainership. See ticket #8326.

Author/Contributors

Author: Emilien Klein Rentalia.com
Maintainer: Emilien Klein
Contributors: