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
[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.
[3508] by tcoulter on 04/12/08 22:30:45
Made it so ellipses are shown only if they actually break up the comment (ie., the excerpt does not cover either bound).
[3507] by magicbronson on 04/12/08 21:33:23
* make version match repo (we jumped 10 minor revisions in one shot? :P) * preface -> prefix
[3506] by tcoulter on 04/12/08 18:04:02
1) Changed look/feel of tracbacks, where instead of just linking, it shows an excerpt of the comment that was made. 2) Allowed for multiple references of a ticket within a comment, where each reference produces another excerpt within the tracback.
Author/Contributors
Author: mchua
Contributors: tcoulter (original proposer), Doug Mayle, magicbronson, k0s
Originally written at The Open Planning Project.
