gitlab-org--gitlab-foss/lib/gitlab/gitaly_client
Zeger-Jan van de Weg 11a483649e
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
2018-03-27 14:43:21 +02:00
..
attributes_bag.rb
blob_service.rb Incorporate Gitaly's RPCs for Gitlab::Git::LfsChanges 2018-03-02 17:12:08 -03:00
blobs_stitcher.rb Migrate Git::Blob.batch to Gitaly 2018-02-08 00:26:45 +01:00
commit_service.rb Add support for :all option to {count,find}_commits 2018-03-02 14:55:20 +01:00
conflict_files_stitcher.rb Fix 500 error when trying to resolve non-ASCII conflicts in editor 2018-03-23 18:33:14 +00:00
conflicts_service.rb GitalyClient::ConflictsService#conflicts? should return true for conflicts with missing side 2018-01-23 22:16:51 +01:00
diff.rb
diff_stitcher.rb
health_check_service.rb Add a gRPC health check to ensure Gitaly is up 2018-01-24 15:47:27 -08:00
namespace_service.rb
notification_service.rb
operation_service.rb Incorporate OperationService.UserSquash Gitaly RPC 2018-02-02 19:02:40 -03:00
queue_enumerator.rb
ref_service.rb Remove intermediate methods on Branch and Tag classes 2018-02-01 13:00:38 +01:00
remote_service.rb Test if remote repository exists before cloning 2018-03-27 14:43:21 +02:00
repository_service.rb Make --prune a configurable parameter in fetching a git remote 2018-03-06 00:10:04 -08:00
server_service.rb Gitaly Server info for admin panel 2018-01-31 08:54:45 +01:00
storage_settings.rb Route path lookups through legacy_disk_path 2018-03-21 18:18:32 +01:00
util.rb Merge branch 'migrate-fork-repo-to-gitaly' into 'master' 2018-01-03 17:35:32 +00:00
wiki_file.rb
wiki_page.rb Encode GitalyClient::WikiPage attributes to UTF-8 2018-02-05 12:29:02 +01:00
wiki_service.rb Merge branch 'master' into 'zj-wiki-page-versions' 2018-02-06 16:08:06 +00:00