Commit graph

3 commits

Author SHA1 Message Date
David Turner
dbcf48af8b Add username as GL_USERNAME in hooks (http)
When calling pre-receive, post-receive, and update hooks, add the GitLab
username as the GL_USERNAME environment variable.

This patch only handles cases where pushes are over http, or via
the web interface.  Later, we will address the ssh case.
2017-09-29 18:12:03 -04:00
Jacob Vosmaer
da769135fe Rubocop whitespace 2017-08-23 10:45:20 +02:00
Jacob Vosmaer
dc7c6bede2 Move GitHooksService to Gitlab::Git 2017-08-23 10:45:20 +02:00