Feature #3472
openExpose unified hooks that can be used in SSH backend
0%
Description
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 ?
Updated by Marcin Kuzminski [CTO] over 8 years ago
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.
Updated by Gildas Fargeas over 8 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 !
Updated by Marcin Kuzminski [CTO] over 8 years ago
Yes exactly, we would have new GIT hooks that use plain http to execute hook system on RC side, the same thing would work for added hg/svn hooks.