2 Jul 2007 23:48
[Trac-dev] Re: Trac Development to support Change and Requirements Management
<trac <at> nogga.de>
2007-07-02 21:48:59 GMT
2007-07-02 21:48:59 GMT
Hello Christopher, > A custom field that has the source of the bug would work for this .... > you could then specify > source:/trunk/componentname/classfiled <at> <revision>#L<linenumber> > and then you could write a report for them that takes as input a path > and then searches for all tickets whose aforementioned custom field > begins with the input path > Thanks for the tip, I will try this out. Possibly this can be done automatically with a post-commit hook script??? Need to think about this a little further. > not sure how a hook script can help you here .... you need to know > what lines of code the bug was *found* in. However, this would deff > help you determine what lines of code were modified to fix a bug ..... > I thought about parsing a commit message like "fixd bug #xxx introduced in [1234]" and that together with the checkin path this will automatically combine the revision with the ticket. > to me that sounds more like a policy issue than a trac issue. A > suggestion if I may ... use the version number to determine what > version the bug was found in (could be N/A for an anhancement) and > assign it against the milestone for trunk (or the maintenance of a > released version if that's a higher priority for you .... just pick > one and be consistent). That is what we currently do. But it still has the problem, that we can not tell which bug exist in which version. E.g. if you find a bug in the(Continue reading)
RSS Feed