Opened 13 years ago

Closed 11 years ago

#843 closed enhancement (fixed)

Bug dependencies not possible

Reported by: marcusoverhagen Owned by: nielx
Priority: normal Milestone: Trac 0.11
Component: Website/Trac Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by marcusoverhagen)

The feature to have one bug depending on another is missing. It was available while using Bugzilla. Please add it.

For example:

bug #833 dependes on bug #825

bug #825 blocks bug #833

Change History (14)

comment:1 by marcusoverhagen, 13 years ago

Description: modified (diff)

comment:2 by marcusoverhagen, 13 years ago

Description: modified (diff)

comment:3 by wkornewald, 13 years ago

Type: bugenhancement

Unfortunately, this feature is not available in Trac and it would take quite a bit of work to add. Isn't it sufficient to simply add it to the description text (depends on: #123, #10; blocks: #23, #34)? That's basically the way it is done on the official Trac site (of course Trac doesn't take care of the property's symmetry, so you have to add it to both tickets... :( ). Maybe you should add this feature request to the official Trac site (http://trac.edgewall.org/). I don't know when I would be able to work on it. Maybe Charlie Clark or Mikael Jansson can do it.

comment:4 by wkornewald, 13 years ago

Marcus, is this feature really needed? Is it really unclear when some bug depends on another one and is this really important enough to justify a more complicated UI (more fields)? To me it seems that only a small percentage of our bugs used BugZilla's dependency feature, at all. I prefer to keep Trac as simple as possible. I think that over-categorization leads to more problems than it actually solves.

comment:5 by wkornewald, 13 years ago

Milestone: Website R1Website R1.5

This will be available in a later Trac release. For now, what we have should work well enough.

comment:6 by ar1000, 12 years ago

Owner: wkornewald removed
Priority: highnormal

will be solved by Trac upgrade; Waldemar left — unassigned.

comment:8 by nielx, 12 years ago

Owner: set to nielx
Status: newassigned

This can be solved by using the http://trac-hacks.org/wiki/MasterTicketsPlugin.

The only thing is, that the 0.10.x version has 'major design flaws', so it only works against 0.11 (which is not released yet).

It is probably also interesting to look at: http://tn123.ath.cx/TracDuplicates/

comment:9 by nielx, 12 years ago

Milestone: Website R2Trac 0.11

comment:10 by marcusoverhagen, 12 years ago

TracDuplicates is certainly an improvement, can it be installed with our current Trac version?

MasterTicketsPlugin sounds interesting if it does what the name says, but I couldn't find a demo for it.

comment:11 by nielx, 12 years ago

Unfortunately I cannot test it locally either, since it requires python 2.4 or greater, and Mac OS X 10.3 only ships 2.3. I will try another machine later.

comment:12 by nielx, 12 years ago

I upgraded python, it was less painful than anticipated.

The MasterTickets plugin works. It is similar to the way bugzilla works. Tickets that depend on other tickets, cannot be closed until they are closed. It adds two fields (blocked by and blocking). There is a minor issue: it does not complain out loud if invalid data is entered (though it does discard it).

In short: this plugin adds the functionality you request.

As for the duplicates plugin: it is written for the 0.10.x version of Trac. I have played around and made an initial attempt at porting it, but it is not yet done.

comment:13 by nielx, 11 years ago

MasterTickets installed on the new server, which will go live on Monday.

comment:14 by nielx, 11 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.