wiki:TicketModifiedFilesPlugin

Version 29 (modified by Ryan J Ollos, 12 years ago) (diff)

Added Syntax highlighting.

Listing modified files per ticket in Trac

Notice: This plugin is unmaintained and available for adoption.

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 [download:ticketmodifiedfilesplugin 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

16490 by rjollos on 2017-04-13 02:54:56
2.0.0dev: Fix legend markup

Refs #5817.

16489 by rjollos on 2017-04-13 02:50:53
2.0.0dev: Adapt to Trac 1.0 database API

  • Add multirepository support.
  • Fix location of legend text (Fixes #5817)

Fixes #13149.

16488 by rjollos on 2017-04-12 19:53:33
2.0.0dev: Refactor code

Patch by pipern.

Fixes #8576.

(more)

Author/Contributors

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