Import GitLab client from GitLab Shell and drop dependency on it
Import GitLab client from GitLab Shell and drop dependency on it. The code is imported as-is with minimal changes to make it work. Any refactoring and cleanup, if needed, can be done later.
Benefits:
- No more cyclic dependency between Gitaly and Shell. Shell depends on Gitaly and that's it.
- This allows to reduce the number of dependencies in Gitaly:
➜ gitaly git:(master) ✗ go list -m all | wc -l
472
➜ gitaly git:(ash2k/gitlab-client) ✗ go list -m all | wc -l
455
Corresponding MR in Shell (will need to be updated to pull in the commit from the main branch): gitlab-shell!516 (closed)
Edited by Mikhail Mazurskiy