Commit graph

4 commits

Author SHA1 Message Date
Alejandro Rodríguez
42a45392a9 Fix the incorrect value being used to set GL_USERNAME on hooks 2017-10-25 14:01:57 -03:00
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
9e40baba1e Rename Gitlab::Git::Committer to User 2017-09-14 17:42:02 +02:00
Jacob Vosmaer
c47b947a73 Move GitHooksService tests 2017-08-23 10:45:20 +02:00
Renamed from spec/services/git_hooks_service_spec.rb (Browse further)