Commit f9eaae60cb8 by Georges Racinet

ssh: giving more info about user and project to gitlab-shell

graft of 6f8e9d97eeef

In the internal API call used by gitlab-shell, we now provide
user and project information in a readily form to pass over
to Mercurial.

In conjunction with related changes in heptapod-shell, this
fixes #154.

branch : heptapod
parent a156fa668f7
......@@ -110,7 +110,11 @@ module API
permission: permission,
gl_repository: gl_repository,
gl_id: user&.id,
gl_username: user&.username,
gl_name: user&.name,
gl_email: user&.email,
project_id: @project&.id,
repository_path: repository_path,
gitaly: gitaly_payload(params[:action])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment