Commit a6e57749 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use native repo path for import task. Skip wiki repos

parent 13b281c2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment