diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-07-14 13:40:04 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-08-07 13:06:12 -0300 |
commit | 81995317f99550a0cd5c76e9b15fd91364665d1f (patch) | |
tree | 1887c29b5de75f75fd186e7bb411cf6ac2622233 /lib/tasks | |
parent | 66e7b4cd07f3ad29765a4f60a4c13fc6a26c3575 (diff) | |
download | gitlab-ce-81995317f99550a0cd5c76e9b15fd91364665d1f.tar.gz |
Use project.import_url to fetch repositories from Github
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/import.rake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake index 50b8e331469..75ccd7af793 100644 --- a/lib/tasks/import.rake +++ b/lib/tasks/import.rake @@ -62,6 +62,7 @@ class GithubImport visibility_level: visibility_level, import_type: 'github', import_source: @repo['full_name'], + import_url: @repo['clone_url'].sub('://', "://#{options[:token]}@"), skip_wiki: @repo['has_wiki'] ).execute end |