RhodeCode Enterprise Repository Hooks#

RhodeCode Enterprise installs hooks inside each of the repositories that it manages. These hooks enable users to execute custom actions based on certain events. This is the complete list of repositories hooks and the events which trigger them:

--CREATE_REPO_HOOK

Any time a repository is created.

--CREATE_REPO_GROUP_HOOK

Any time a repository group is created.

--CREATE_USER_HOOK

Any time a user is created.

--DELETE_REPO_HOOK

Any time a repository is created.

--DELETE_USER_HOOK

Any time a user is deleted.

--PRE_CREATE_USER_HOOK

Any time a user is created but before the action is executed by RhodeCode Enterprise.

--PRE_PULL

Any pull from a repository but before the action is executed by RhodeCode Enterprise.

--PRE_PUSH

Any push to a repository but before the action is executed by RhodeCode Enterprise.

--POST_PUSH

After any push to a repository.

--PUSH_HOOK

Any push to a repository, including editing tags or branches. Commits via API actions that update references are also counted.

--PULL_HOOK

Any pull from a Repository.

Using Repository Hooks#

To use these hooks you need to setup RhodeCode Extensions. For more information, see the rcextensions integrations section.