gitlab-org--gitlab-foss/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 Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
bulk_importing.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
caching.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
client.rb Fix provider server URL used when listing repos to import 2018-03-12 16:01:43 -05:00
issuable_finder.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
label_finder.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
markdown_text.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
milestone_finder.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
page_counter.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
parallel_importer.rb Prefer polymorphism over specific type checks in Import service 2017-11-15 13:40:35 +01:00
parallel_scheduling.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
rate_limit_error.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
representation.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
sequential_importer.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
user_finder.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00