You have to configure the global hooks using
http://[hostname]:[port]/_admin/settings/hooks
You can define different events e.g.:
incoming.jenkins /opt/kallithea-data/hooks/buildJob.sh
pretxnchangegroup.check /opt/kallithea-data/hooks/checkForMissingFiles.sh
$HG_NODE
The first is what you want, the second is a preCheck if the push should be
accepted.
I hope this helps,
Benny
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific than "Re:
Contents of kallithea-general digest..."
Today's Topics:
1. custom mercurial (Ed Wong)
----------------------------------------------------------------------
Message: 1
Date: Tue, 1 Aug 2023 17:42:48 +0800
From: Ed Wong <[email protected]>
To: [email protected]
Subject: custom mercurial
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
Hi,
Pardon my ignorance, but can someone clarify how to install hooks
(mercurial) on Kallithea?
In the docs, it states to add the "<name>.<type>" and the path; but what types
are there? Furthermore, what should the path be?
What should the contents be in the hook file?
Are there repository-specific hooks? I'm particularly interested in getting a
hook which runs when a push has been made to the repository. Is that the
post-receive hook?
Any help appreciated.
Thanks
Ed
------------------------------
Subject: Digest Footer
_______________________________________________
kallithea-general mailing list
[email protected]
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
------------------------------
End of kallithea-general Digest, Vol 103, Issue 1
*************************************************
_______________________________________________
kallithea-general mailing list
[email protected]
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general