Modify

Opened 18 years ago

Closed 18 years ago

#1115 closed enhancement (fixed)

Add work done via SVN hook (using timingandestimation)

Reported by: ben.lumley@… 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)

Change History (1)

comment:1 Changed 18 years ago by ben.lumley@…

Resolution: fixed
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anybody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.