Kallithea issues archive

Issue #22: hooks are not triggered when files are edited through the web interface

Reported by: domruf
State: new
Created on: 2014-08-28 11:56
Updated on: 2015-12-22 14:23




Comment by domruf, on 2014-08-28 12:46

Actually I found out log_push_action does get executed but repo_size does not.

While looking into this I came to the conclusion the whole hook handling needs a cleanup.

Comment by JF , on 2015-04-04 16:39

I agree. I am relying on:

changegroup.notify = python:hgext.notify.hook

To notify people that repositories are receiving changes and this is not triggered when editing files through the web interface.

Comment by Hagen Graf, on 2015-10-21 10:11

Are there any news on this issue? For Mercurial, I found out that most hooks (update working copy in admin-settings, [hooks] in .hg/hgrc) are ignored for changes from the web-interface: - editing a file - pulling from remote

I would like to manage some configuration-files for a server with Kallithea directly on the same server. So it would be great to have the possibility of updating the working copy after committing a change through the webinterface…

Comment by Mads Kiilerich, on 2015-12-22 14:23

I don't think all hooks fit in nicely when editing through the web. For example pretxnchangegroup would be hard (but would be very useful for access control!). changegroup do seem like an easy and very useful one that we should support.