Expose unified hooks that can be used in SSH backend
Idea from customer:
Hi, we have deployed custom hooks in the built in hook in rcextensions but it seems that those hooks are not used when pushing via ssh. Due to the bypass of core components when using ssh. The possiblity of having a unique place to manage hooks (for hg or git) is very nice so do you think it would be possible ?
#3 Updated by Gildas Fargeas over 4 years ago
Marcin Kuzminski [staff] wrote:
I think we can use 4.1 http hooks to be called from the SSH backends and then have some unified interface ?
We need a refinement on this topic with the team.
That would be great.
I guess git repos already work that way by automatically adding a post-receive which calls the internal hook subsystem.
A preconfigured hook section in hg repos could make the call to the same subsystem !