Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added GL_IDadd_gl_id | Valery Sizov | 2016-10-05 | 3 | -4/+5 |
| | |||||
* | Track ongoing pushes and reject mv-storage commands if there are push ↵mv-storage | Alejandro Rodríguez | 2016-07-27 | 1 | -1/+7 |
| | | | | running (after waiting some time) | ||||
* | Remove spaceremove-env-set | Jacob Vosmaer | 2016-07-20 | 1 | -1/+1 |
| | |||||
* | Unset GL_ID and GL_PROTOCOL immediately | Jacob Vosmaer | 2016-07-20 | 2 | -9/+3 |
| | | | | | | Neither other code executing in the hook process nor subprocesses of the hook process need access to the GL_ID / GL_PROTOCOL variables so we can just unset them the moment we fetch them. | ||||
* | Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] and make it mandatory with no ↵ | Patricio Cano | 2016-07-05 | 1 | -1/+1 |
| | | | | fallback value | ||||
* | Simplify protocol assign, and populate ENV['PROTOCOL'] variable when calling ↵ | Patricio Cano | 2016-07-05 | 1 | -3/+1 |
| | | | | hooks via SSH | ||||
* | Allow GitLab Shell to check for allowed access based on the used Git protocol. | Patricio Cano | 2016-07-05 | 1 | -1/+4 |
| | |||||
* | ARGF does more than we want | Jacob Vosmaer | 2016-06-23 | 2 | -2/+2 |
| | | | | | | | | | ARGF is a virtual IO stream that treats the elements of ARGV as paths to files to be opened. In practice, git-receive-pack will probably never pass arguments to pre-receive and post-receive because it is not supposed to (according to 'man 5 githooks'). In case it does, however our hooks should not have the surprise behavior of treating those arguments as files to be opened. | ||||
* | Move setting/unsetting of GL_ID from lib to executables. | Douwe Maan | 2015-04-06 | 1 | -0/+3 |
| | |||||
* | Write GitlabAccess error to stderr. | Douwe Maan | 2015-04-06 | 1 | -0/+3 |
| | |||||
* | Revert "Restore hooks PATH before calling ruby." | Valery Sizov | 2014-11-19 | 6 | -65/+50 |
| | | | | This reverts commit cd9e796316560eee596f2681d54a8417389bbe79. | ||||
* | Restore hooks PATH before calling ruby. | Ciro Santilli | 2014-11-17 | 6 | -50/+65 |
| | |||||
* | Support for custom hooks | Drew Blessing | 2014-11-05 | 3 | -5/+24 |
| | |||||
* | Remove update hook logic | Dmitriy Zaporozhets | 2014-09-01 | 1 | -13/+0 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Add new pre-receive and post-receive hooks | Dmitriy Zaporozhets | 2014-09-01 | 2 | -0/+34 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Use built-in Ruby Dir.pwd instead of the shell | Jacob Vosmaer | 2014-03-07 | 1 | -1/+1 |
| | |||||
* | Remove empty post-receive hook | Jacob Vosmaer | 2013-07-19 | 1 | -4/+0 |
| | |||||
* | Mention that users can edit the hooks | Jacob Vosmaer | 2013-07-19 | 2 | -3/+2 |
| | |||||
* | Use update hook to add post event to redis. Use GL_ID instead of GL_USER | Dmitriy Zaporozhets | 2013-02-14 | 2 | -10/+5 |
| | |||||
* | Update hook and support for protected branches | Dmitriy Zaporozhets | 2013-02-06 | 2 | -1/+12 |
| | |||||
* | set GL_USER | Dmitriy Zaporozhets | 2013-02-04 | 1 | -0/+0 |
| | |||||
* | link post-receive hook also | Dmitriy Zaporozhets | 2013-02-04 | 1 | -0/+12 |