[Trac] TracTicket/Subversion Integration

Emmanuel Blot manu.blot at gmail.com
Tue Jul 25 07:47:00 CDT 2006


> 1.  Is there any convention/best practice that indicates where a
> post-commit hook script should be stored?  It will work anywhere, I
> know, but is there a recommendation?

I personnally kept the Python script in the contrib directory because
I'm lazy. I don't think this is the most appropriate directory ;-)

> 2.  Since the post-commit-hook file that gets executed lives in the
> project's /hooks directory and must be named post-commit...

You should have at least the shell scripts in the hooks directory of
your Subversion repository, and these scripts should call the Python
scripts wherever they are stored.

> you can have multiple post-commit scripts executed just by calling all
> scripts from that same hook file.  Is there any problem with that or
> is it done pretty regularly?

I'm not sure to understand the question: "multiple post-commit scripts"?
Can you elaborate?

Cheers,
Manu


More information about the Trac mailing list