Modify ↓
Opened 18 years ago
Closed 18 years ago
#1115 closed enhancement (fixed)
Add work done via SVN hook (using timingandestimation)
Reported by: | Owned by: | anybody | |
---|---|---|---|
Priority: | normal | Component: | Request-a-Hack |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I've been looking into doing this myself, and will probably get round to it one day.
What I'm after, is a way to add work done (as in, the value entered into the field you get when using timing and estimation) from the svn hook.
I was thinking something along the lines of:
fixes #9:3 to mark ticket 9 fixed and to add 3 hours work done to it.
Looking at the hook, it looks like modifying the regular expression to get the hours out, but beyond that, I'm stuck at the moment!
So even pointers would be good.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
I had a look in the svn repository for timingandestimation, and found scripts/trac-post-commit.py, I replaced the one that came with trac itself with this one, and can now do things like fixes #3 (4) to add 4 hours and mark fixed.
which works for me.