Topic: Custom git hooks
It would be nice to have possibility to edit git repository hooks (i.e. to send CIA notifications).
You are not logged in. Please login or register.
TuxFamily's forum → Suggestions → Custom git hooks
It would be nice to have possibility to edit git repository hooks (i.e. to send CIA notifications).
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
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.
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
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...
How about this hook script for CIA?
TuxFamily's forum → Suggestions → Custom git hooks