wiki:TracBacksPlugin

Version 3 (modified by Mel Chua, 12 years ago) (diff)

--

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

Download the zipped source from [download:tracbacksplugin here].

Source

You can check out TracBacksPlugin from here 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

17657 by rjollos on 2020-01-11 08:11:46
TracBacks 0.2dev: Make compatible with Trac 1.4+

Fixes #13728.

17656 by rjollos on 2020-01-11 08:07:50
Conform to PEP8
12197 by ejucovy on 2012-10-18 15:04:35
close #9008 -- In the event that the changelog is empty, cnum_thischange needs to be set to the string "1", not the integer 1
(more)

Author/Contributors

Author: mchua
Contributors: Tim Coulter (original proposer), Doug Mayle, Josh Bronson, Jeff Hammel

Attachments (2)

Download all attachments as: .zip