gitlab-org--gitlab-foss/lib/gitlab/github_import/importer
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
..
diff_note_importer.rb
diff_notes_importer.rb
issue_and_label_links_importer.rb
issue_importer.rb
issues_importer.rb
label_links_importer.rb
labels_importer.rb
milestones_importer.rb
note_importer.rb
notes_importer.rb
pull_request_importer.rb
pull_requests_importer.rb Look for rugged with static analysis 2018-01-25 14:05:11 +01:00
releases_importer.rb
repository_importer.rb Test if remote repository exists before cloning 2018-03-27 14:43:21 +02:00