Enable Trac CVN Post Commit HookSubmitted by gevason on Wed, 01/23/2008 - 6:48pm.I have a jumpbox (regsitered so I have ssh access) and I'd like to add this trac-svn-post-commit-hook so that I can simply add text such as "fixes #2" to updated the status of the ticket. http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook How can I do this? |
Search |
Enable Trac CVN Post Commit Hook
Hi,
There are really only two things you need to know, first off, Trac in the JumpBox is version 0.10.4 so make sure you use a postcommit hook for that version. Second, all subversion hooks should go in this directory on the JumpBox: /var/data/projects/svn/project/hooks
The Trac FAQ has an answer about this that includes useful troubleshooting information: http://trac.edgewall.org/wiki/TracFaq#can-trac-automatically-update-a-ti...
and the Subversion book entry on hooks could be useful:
http://svnbook.red-bean.com/en/1.2/svn-book.html#svn.reposadmin.create.h...
Good luck,
Austin