Update import.rake

Output a message when a repo is skipped
This commit is contained in:
Marc Aubé 2014-10-07 14:13:50 -04:00
parent e95a8e1500
commit ae5381f2cc

View file

@ -27,7 +27,10 @@ namespace :gitlab do
group_name = nil if group_name == '.'
# Skip if group or user
next if namespaces.include?(name)
if namespaces.include?(name)
puts "Skipping #{project.name} due to namespace conflict with group or user".yellow
next
end
puts "Processing #{repo_path}".yellow