Topic: Custom git hooks

It would be nice to have possibility to edit git repository hooks (i.e. to send CIA notifications).

Re: Custom git hooks

Well, this is planned for a while, but not so easy to add, adding custom hooks allows full R/W access to the concerned repository and might breaks the adding-only feature of source control versioning tools, which can be bad if someone in a project wants to delete or alter the repository.

However, we added email notifications a while ago ;-)

Sylvain

Re: Custom git hooks

Or, you can have a set of scripts and the user can enable a hook. Then a post-commit hook can execute the scripts needed.

Re: Custom git hooks

thepeskygeek wrote:

Or, you can have a set of scripts and the user can enable a hook. Then a post-commit hook can execute the scripts needed.

This is what is already being done for mail notifications ;-)

Sylvain

Re: Custom git hooks

gradator wrote:
thepeskygeek wrote:

Or, you can have a set of scripts and the user can enable a hook. Then a post-commit hook can execute the scripts needed.

This is what is already being done for mail notifications ;-)

Sylvain

Then we can use the same system for other hooks. BTW, it's possible that you can use CIA's SVN polling and mailing feature of TF.o, but we need custom hooks for git...

Re: Custom git hooks

How about this hook script for CIA?

http://zelgadis.profusehost.net/files/t … st-recieve