Skip to content
Snippets Groups Projects

Use gitaly-upload-pack and gitaly-receive-pack

Merged Jacob Vosmaer (GitLab) requested to merge go-wrappers into master
All threads resolved!

Closes https://gitlab.com/gitlab-org/gitaly/issues/193

We want to use Go Gitaly client executables in gitlab-shell because we cannot reliably use Ruby gems with C native extensions in Ruby executables launched by SSHD. This change adds such Go executables, for now without Gitaly support but that should change soon.

This change makes bin/compile a mandatory installation step. All git pull and git push sessions over SSH will start flowing through these Go executables.

Edited by Jacob Vosmaer (GitLab)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 3 commits

    Compare with previous version

  • Jacob Vosmaer (GitLab) resolved all discussions

    resolved all discussions

  • added 1 commit

    Compare with previous version

  • This is WIP because gitlab-ce!11039 and omnibus-gitlab#2304 (closed) need to be resolved before it is safe to merge this. Otherwise it is ready for review.

  • Note to reviewers: there are relevant diffs below the go/vendor bits.

  • Douwe Maan
  • @jacobvosmaer-gitlab Nice work, looks fairly straightforward! One suggestion.

  • added 1 commit

    • de018a56 - Make gitaly executable mapping clearer

    Compare with previous version

  • Douwe Maan resolved all discussions

    resolved all discussions

  • @jacobvosmaer-gitlab LGTM! Let me know when those other issues are resolved and this can be merged.

  • Thanks @DouweM will assign back to you when ready.

    Locked in WIP by https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2304

  • Talking with @andrewn I realized it might be better to make the use of gitaly-{upload,receive}-pack conditional on the API response received from gitlab-ce. That way we can merge this independently of omnibus-gitlab#2304 (closed). And we want an on/off mechanism anyway. I was originally planning to have on/off inside gitaly-upload-pack but if we put it in bin/gitlab-shell it makes our life a little easier.

  • This means I will update this MR and re-submit it for review.

  • added 13 commits

    Compare with previous version

  • Jacob Vosmaer (GitLab) unmarked as a Work In Progress

    unmarked as a Work In Progress

  • I have not had the time yet to update this MR and now omnibus has the bin/compile step. That means this can be merged without breaking anything (knock on wood :) ).

  • merged

  • Douwe Maan mentioned in commit db96f724

    mentioned in commit db96f724

  • mentioned in issue gitaly#349

  • Please register or sign in to reply
    Loading