How to setup a custom hook ?
Konstantin Veretennicov
kveretennicov at gmail.com
Thu May 12 16:23:25 UTC 2016
On May 12, 2016 10:36 AM, "Nicolas Pinault" <nicolasp at aaton.com> wrote:
>
>
>> In Admin/Settings/Hooks, I tried the following configurations without
success :
>> - changegroup.my_script python c:/Kallithea/Bin/my_script.py
>
> This syntax is the correct one and works perfectly.
> My error was that the cwd used is not the Bin directory of Kallithea but
the repo directory. That made my script not work.
Glad you figured it out and thanks for sharing.
Was the mistake difficult to diagnose? Do you think Kallithea could make it
easier to debug this kind of issues?
--
Regards,
Konstantin
>
>
> Nicolas
>
> _______________________________________________
> kallithea-general mailing list
> kallithea-general at sfconservancy.org
> http://lists.sfconservancy.org/mailman/listinfo/kallithea-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20160512/d7630443/attachment.html>
More information about the kallithea-general
mailing list