|Version 29 (modified by rjollos, 3 years ago) (diff)|
Listing modified files per ticket in Trac
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.
Defects and Enhancements
If you have a recent version of Setuptools installed, you can just do:
- Download TicketModifiedFiles as a zip file or grab the source from SVN.
- 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.)
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.
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)
-  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.
-  by rjollos on 2010-12-24 07:41:12
Moved 'Back to Ticket #X' link to the contextual navigation. Fixes #5486.
-  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.