diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-14 12:45:17 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-14 12:45:17 +0300 |
commit | a6e57749dccb2373dc13089006eba770bc376a67 (patch) | |
tree | 54e266001cfe54b88ef1ccb350acc7cebfb4d203 /lib/tasks | |
parent | 13b281c2e4556dc4ad845271d6ae59d5959aff64 (diff) | |
download | gitlab-ce-a6e57749dccb2373dc13089006eba770bc376a67.tar.gz |
Use native repo path for import task. Skip wiki repos
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/import.rake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake index 2fd7d017db8..668ef1d2300 100644 --- a/lib/tasks/gitlab/import.rake +++ b/lib/tasks/gitlab/import.rake @@ -31,6 +31,11 @@ namespace :gitlab do puts "Processing #{repo_path}".yellow + if path =~ /.wiki\Z/ + puts " * Skipping wiki repo" + next + end + project = Project.find_with_namespace(path) if project @@ -40,6 +45,7 @@ namespace :gitlab do project_params = { name: name, + path: name } # find group namespace |