Modify

Opened 8 years ago

Closed 8 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 8 years ago by ben.lumley@…

  • Resolution set to fixed
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from anybody. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.