gitlab-org--gitlab-foss/spec/lib/gitlab/github_import
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
..
importer Test if remote repository exists before cloning 2018-03-27 14:43:21 +02:00
representation Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
bulk_importing_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
caching_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
client_spec.rb Support importing GH projects without rate limits 2017-11-08 21:37:01 +01:00
issuable_finder_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
label_finder_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
markdown_text_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
milestone_finder_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
page_counter_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
parallel_importer_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
parallel_scheduling_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
representation_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
sequential_importer_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
user_finder_spec.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00