Use native repo path for import task. Skip wiki repos

This commit is contained in:
Dmitriy Zaporozhets
2013-08-14 12:45:17 +03:00
parent 13b281c2e4
commit a6e57749dc
+6
View File
@@ -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