Peter Mounce wrote:
> We use the bugtraq:* properties to integrate with our issue-tracker,
> Gemini (from countersoft.com). It works a treat.
>
> We'd like to also use the system (TSVN, issue-tracker integration) to
> track time spent on code. So we could write in the logs something like
> Issue #54, 4h 30m - there'd be a bugtraq:timeregex, perhaps, to track
> time per commit message. Or perhaps extend the current regex so each
> issue could have an optional time-match of the form {hours}h
> {minutes}m. (Personally, I wish people would only ever link a commit to
> one issue).
>
> It would be lovely if TSVN could support that, and then extend the log
> window to show the time-tracking, and also extend the statistics display
> to show the data, where available.
While I have a pretty good idea on how the extended log window would
look like (an additional column showing the time), I have no idea
how/where that information should be shown in the statistics dialog:
there's nothing in there which shows the bug ID's now.
> We could then hook that information into our post-commit hook, which
> talks to Gemini (well, in actual fact, we wouldn't need TSVN to do
> anything for this, but it would be lovely to see the information in both
> systems if we wanted), and get easier time-tracking for our coding. We
> would, though, like it to be possible for our post-commit hook to pull
> its configuration details from the bugtraq properties, instead of
> maintaining it in a separate config file for the hook.
>
> I'm only musing, here; I know this is hardly a complete specification.
> However, this is kind of how the original bugtraq spec was drawn up, as
> I recall - people talking about it.
I see some problems with implementing this.
If the time-spent (ts) is on the same line or even intermixed with the
actual bug ID, then we'd have to catch this with the bugtraq:logregex.
But it it's standalone, then we'd have to introduce a separate regex
property.
Also, how should we indicate this in the commit dialog? We already use a
different color, bold and italic letters.
How many bug tracking systems out there have the ability to specify a
time? If it's just the one you're using, I don't think it's worth
introducing this in TSVN, because as you already noticed you could
introduce your very own property (e.g. gemini:timeregex) and do the rest
from hook scripts.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Dec 4 19:20:39 2006