Project

General

Profile

Actions

Feature #3472

open

Expose unified hooks that can be used in SSH backend

Added by Marcin Kuzminski [CTO] almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12.04.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:

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 ?
Actions #1

Updated by Marcin Kuzminski [CTO] almost 8 years ago

  • Description updated (diff)
Actions #2

Updated by Marcin Kuzminski [CTO] almost 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.

Actions #3

Updated by Gildas Fargeas almost 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 !

Actions #4

Updated by Marcin Kuzminski [CTO] almost 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.

Actions

Also available in: Atom PDF