gitlab-org--gitlab-foss/spec/lib/gitlab/git
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
..
storage Allow the git circuit breaker to correctly handle missing repository storages 2017-09-22 10:05:28 +01:00
attributes_spec.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
blame_spec.rb Make gl_repository a G::G::Repository attribute 2017-08-23 10:45:20 +02:00
blob_snippet_spec.rb Fix RSpec/DescribeSymbol cop violations 2017-03-24 19:04:03 -04:00
blob_spec.rb Ensure that Blob.raw returns always returns a valid blob object 2017-09-21 14:49:51 -04:00
branch_spec.rb Make gl_repository a G::G::Repository attribute 2017-08-23 10:45:20 +02:00
commit_spec.rb Migrate Gitlab::Git::Repository#log to Gitaly 2017-09-25 11:34:10 +02:00
compare_spec.rb Make gl_repository a G::G::Repository attribute 2017-08-23 10:45:20 +02:00
diff_collection_spec.rb Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04:00
diff_spec.rb [ci-skip] spec for an instance method 2017-09-06 09:44:12 -04:00
env_spec.rb Add a Gitlab::Git::Env to store Git-specific env thread-safely 2017-04-10 16:10:18 +02:00
gitmodules_parser_spec.rb repository: index submodules by path 2017-06-16 14:37:13 -04:00
hook_spec.rb Add username as GL_USERNAME in hooks (http) 2017-09-29 18:12:03 -04:00
hooks_service_spec.rb Add username as GL_USERNAME in hooks (http) 2017-09-29 18:12:03 -04:00
index_spec.rb Make gl_repository a G::G::Repository attribute 2017-08-23 10:45:20 +02:00
repository_spec.rb Make Repository#has_visible_content more efficient 2017-09-29 13:08:44 +00:00
rev_list_spec.rb Use Gitlab::Git's Popen on that module's code 2017-09-20 13:21:54 +02:00
tag_spec.rb Make gl_repository a G::G::Repository attribute 2017-08-23 10:45:20 +02:00
tree_spec.rb Implement fix for n+1 issue on flatten_tree helper 2017-09-06 17:47:25 -03:00
user_spec.rb Add username as GL_USERNAME in hooks (http) 2017-09-29 18:12:03 -04:00
util_spec.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00