Skip to content
Snippets Groups Projects
Commit a6e57749 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Use native repo path for import task. Skip wiki repos

parent 13b281c2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
@@ -40,6 +45,7 @@ namespace :gitlab do
 
project_params = {
name: name,
path: name
}
 
# find group namespace
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment