Feature #3472
open
Expose unified hooks that can be used in SSH backend
Added by Marcin Kuzminski [CTO] over 8 years ago.
Updated over 8 years ago.
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 ?
- Description updated (diff)
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.
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 !
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.
Also available in: Atom
PDF