Skip to content

Make gitlab-shell a dependency of Gitaly

Gitlab-ce calls gitlab-shell/bin/gitlab-projects which manipulates Git projects on disk. The fastest way to migrate this code is to assume gitlab-shell is installed on the Gitaly server (which is true in Omnibus) and to implement RPC's in Go that shell out to gitlab-projects.

Before we can do that we need to make gitlab-shell a formal dependency of Gitaly.

[gitlab-shell]
dir = '/home/git/gitlab-shell'
package config

type Config struct {
  GitlabShell GitlabShell `toml:"gitlab-shell"`
}

type GitlabShell struct {
  Dir string `toml:"string"`
}
Edited by Kim Carlbäcker
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information