Test if remote repository exists before cloning
When a repository does not exist on a remote, Gitaly won't be able to clone it. This is correct behaviour, but from the clients perspective a change in behaviour. This change implements the client side changes that allows Gitaly to execute a `git ls-remote <remote-url> HEAD`. This way the client has no need to shell out to Git. In the situation where multiple Gitalies are available, one is chosen at random. This commit closes https://gitlab.com/gitlab-org/gitlab-ce/issues/43929, while its also a part of https://gitlab.com/gitlab-org/gitaly/issues/1084
Showing
... | ... | @@ -420,7 +420,7 @@ group :ed25519 do |
end | ||
# Gitaly GRPC client | ||
gem 'gitaly-proto', '~> 0.88.0', require: 'gitaly' | ||
gem 'gitaly-proto', '~> 0.91.0', require: 'gitaly' | ||
gem 'grpc', '~> 1.10.0' | ||
# Locked until https://github.com/google/protobuf/issues/4210 is closed | ||
... | ... |
Please register or sign in to comment