#749 closed enhancement (worksforme)
Allow Custom fields to be updated via commit logs from svn
Reported by: | James Mills | Owned by: | Russ Tyndall |
---|---|---|---|
Priority: | normal | Component: | TimingAndEstimationPlugin |
Severity: | normal | Keywords: | script, commit, log |
Cc: | Trac Release: | 0.10 |
Description
I apologise if this plugin is already capable of this.
- Is there a script for this ?
- Is the plugin capable of doing it ?
Attachments (1)
Change History (5)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
http://trac.edgewall.org/wiki/TimeTracking contains data about how to setup the svn commit hook.
I am having a really hard time getting this comment to commit because it triggers trac spam protection.
Changed 18 years ago by
Attachment: | trac-post-commit-hook added |
---|
post-commit-hook with time-registration
comment:3 Changed 18 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Hello together.
http://trac.edgewall.org/wiki/TimeTracking contains a section that describes, how to customize Trac with a patch - the section that describes the usage of TimeAndEstimationPlugin does not talk of the post-commit-hook.
The patch seems to listen on changes on the ticket, to recognize the spent hours.
So, I changed the post-commit-hook for Trac 10.2 to allow the following syntax in the commit-comment:
I did some changes, fixes #123 (2.5h)
This fixes Ticket 123 and adds 2.5h by using the "hours"-field.
I attach my post-commit-hook. Have fun with it =)
comment:4 Changed 18 years ago by
Thanks, I actually had someone else email me this last week, but have been under very tight deadlines and did not get to post a bit about it.
Thanks for the effort, I will post something about this on the front page. Russ
There is a script floating around that does this, but I havnt actually put it into this plugin yet. I probably will at somepoint as my boss has also requested this.
More than happy to accept a patch that fixes this up.