Skip to content

Conversation

mavimo
Copy link

@mavimo mavimo commented Apr 27, 2014

This feature allow users to create multiple git hooks in repositories that do not conflict with gitlab-shell update hook (refs #85, #71, #72, #10, #14)

A hook-wrapper script is symlinked on repository hook folder. This wrapper symlink have the same name of destination hook (eg update, pre-commit, ...). The hook–wrapper script on execution search for all [hookname]-* files and execute they. Exit code are reported from wrapper script.

This MR is required to add "git hook management" (selecting git repo hooks via the gitlab gui and allow new repositories to have default hook script) feature on GitLab (already stubbed, MR in progress).

@dosire
Copy link
Member

dosire commented May 1, 2014

@dosire dosire closed this May 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants