TracBacks Plugin

Description

Summary

Enables within-Trac trackbacks - when a comment on ticket A references ticket B, a comment is made on ticket B letting you know that ticket A has talked about it.

More detail

TracBacks provides internal trackback functionality between tickets in a Trac instance.

Scenario: If developer A is working on ticket 1 and developer B is working on ticket 2 and writes some notes (on ticket 2) how it’s related to ticket 1, it automatically makes a (ticket-2)-to-(ticket 1) link that’s easy to follow to get more details. So far so good. However, developer A has no idea her ticket has just been discussed on ticket 2, and tinkers on blithely unaware of what is going on around her, because there is no reciprocal (ticket 1)-to-(ticket 2) link.

How can we automatically indicate that tickets are being discussed at other tickets? TracBacks. What this plugin does is simply to create that reciprocal (ticket 1)-to-(ticket 2) link so that anyone looking at ticket 1 can see it has been talked about on ticket 2 as well. You can see it here at http://trac-hacks.org/wiki/TracBacksPlugin, and it’s rapidly being improved upon by others.

Bugs/Feature Requests

Existing bugs and feature requests for TracBacksPlugin are here. If you have any issues, create a new ticket.

Download and Source

Download the zipped source, check out using Subversion, or browse the source with Trac.

Example

Place the .egg in your env/plugins directory, as usual. All comments made thereafter will cause trackbacks to be placed on all the tickets that they reference, if any. This plugin will not retroactively create trackbacks for existing comments.

Recent Changes

[5151] by mchua on 01/22/09 20:30:56

mixedpuppy's patch; check for trackbacks on ticket creation

[5150] by mchua on 01/22/09 20:27:48

mixedpuppy's patch for ticket:NNN link format support

[4137] by mchua on 08/12/08 23:16:36

Removed extraneous 'print' lines to fix bug #3539 as per kenny's patch

[3630] by magicbronson on 05/07/08 14:25:40

correct the version in the comment. the plugin version is 0.1 (as specified in its setup.py). the version of trac it's being developed against is 0.11.

Author/Contributors

Author: mchua
Contributors: tcoulter (original proposer), Doug Mayle, magicbronson, k0s

Originally written at The Open Planning Project.