Matt, thanks again for the patch.

On Fri, 2008-11-14 at 21:35 -0500, Matt Adams wrote:
> Folks:
> 
> Please find attached a patch we use to support Bugzilla's time tracking
> feature.  We use this feature heavily to track development efforts, 
> estimate schedules & plan accordingly.

I use this feature too. I'd like to see such a support in Scmbug though
to be implemented in a more generic way that can be applied to all
Scmbug bug-tracking backends. Practically, this means I'd rather we did
NOT parse in the bug-tracking backend the log comment to extract the
worktime; this should be done in the glue. That said, your patch
contains a lot of the logic to do this and can be reworked to fit a more
general solution.

> We are finding scmbug integration useful but found it awkward to have to
> go back to Bugzilla to add our hours worked for a given commit.
> 
> This patch supports a commit message such as:
> 
> bug 123: Fixed the problem with character handling in foo()
> status 123: resolved fixed
> worktime 1.2
> 
> Where worktime 1.2 represents 1.2 hours.
> 
> We did not bother to implement worktime on a per-bug basis.  It is
> assumed that it will be applied to the comment for the specified bug or
> bugs.  It doesn't make much sense to add time spent without a comment
> and we don't want to encourage people to add time worked on unrelated
> commits.

It is not unreasonable to commit a changeset that fixes multiple bugs.
e.g. one bug is created to describe a general problem, and additional
bugs may have also been created to report other issues that might be
side-effects of the first bug. Given this possibility, how do you
envision applying the worktime in such a situation in a single commit
message ?

Would it be useful if worktime was implemented on a per-bug basis ?

> I hope someone finds this patch useful.  I'm sure it has some flaws and
> could be improved but it meets our needs for the moment.

Thanks a lot for the feedback.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to