summaryrefslogtreecommitdiff
path: root/hooks/update
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'sh-disable-rubygems' into 'master'"Stan Hu2017-07-051-1/+1
| | | | | This reverts commit a18c90128e4d3eeae1233b1bc3c3998afd223c0d, reversing changes made to 0a64624152735766c428d1532e434dd0bf5a9748.
* Disable Rubygems in hooks toosh-disable-rubygemsStan Hu2017-07-041-1/+1
|
* remove no longer needed gitlab_initElan Ruusamäe2016-12-011-1/+0
|
* custom_hook: add support for global custom hooksDirk Hörner2016-12-011-0/+1
| | | | | | | | | | | | | This commit adds the option of having another set of global custom hooks along with the already supported repository local custom hooks. The repository local custom hook is executed first (if available). If successful, execution continues with the global custom hook (if available). This way, local custom hooks get priority over global custom hooks. Global custom hooks can be enabled by placing an executable file into the "custom_hooks" directory within gitlab-shell (create if it does not exist, yet).
* custom_hook: refactor to pull repo_path into classDirk Hörner2016-12-011-1/+1
| | | | | | This commit takes the GitlabCustomHook a bit clother to the other hook handling classes by receiving the repo_path as argument to initialize() instead of passing it to each method.
* added GL_IDadd_gl_idValery Sizov2016-10-051-2/+3
|
* Revert "Restore hooks PATH before calling ruby."Valery Sizov2014-11-191-4/+16
| | | | This reverts commit cd9e796316560eee596f2681d54a8417389bbe79.
* Restore hooks PATH before calling ruby.Ciro Santilli2014-11-171-16/+4
|
* Support for custom hooksDrew Blessing2014-11-051-0/+17
|
* Remove update hook logicDmitriy Zaporozhets2014-09-011-13/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use built-in Ruby Dir.pwd instead of the shellJacob Vosmaer2014-03-071-1/+1
|
* Mention that users can edit the hooksJacob Vosmaer2013-07-191-0/+1
|
* Use update hook to add post event to redis. Use GL_ID instead of GL_USERDmitriy Zaporozhets2013-02-141-1/+1
|
* Update hook and support for protected branchesDmitriy Zaporozhets2013-02-061-0/+12