|Version 4 (modified by anonymous, 7 years ago) (diff)|
Add support for ticket dependencies to Trac
NOTE: The 0.10 version of this plugin suffers from many systemic design flaws. The 0.11 version has been re-written from the ground up to avoid these, however I do not currently have the time to invest in a backport. Please do not file tickets against the 0.10 version, as I will close all of them as wontfix. Instructions to install the 0.11 version will follow shortly.
NOTE 2 Trac 0.11 revision 5945 currently breaks Trac together with this plugin.
Traceback (most recent call last): File "/misc/svkcheckout/trac/branches/cap-hacks/trac/web/api.py", line 342, in send_error 'text/html') File "/misc/svkcheckout/trac/branches/cap-hacks/trac/web/chrome.py", line 577, in render_template stream |= self._filter_stream(req, method, filename, stream, data) File "/usr/lib/python2.4/site-packages/Genshi-0.5dev_r630-py2.4.egg/genshi/core.py", line 122, in __or__ return Stream(_ensure(function(self))) File "/misc/svkcheckout/trac/branches/cap-hacks/trac/web/chrome.py", line 641, in inner data) File "/usr/lib/python2.4/site-packages/TracMasterTickets-2.0-py2.4.egg/mastertickets/web_ui.py", line 50, in filter_stream for field, value in data['mastertickets']['field_values'].iteritems(): KeyError: 'mastertickets'
Just put the ticket numbers that a given ticket is blocking in the Blocking field. Enter just the number, no leading #. Separate multiple numbers with commas.
Make sure you add the custom field below.
If you have any issues, create a new ticket.
Download the zipped source from here.
[components] mastertickets.* = enabled [ticket-custom] blocking = text blocking.label = Blocking