fast automerge: done

This commit is contained in:
Valery Sizov 2012-04-22 16:14:01 +03:00
parent dcbb875c46
commit e5f8397fd4
5 changed files with 52 additions and 21 deletions

View file

@ -7,9 +7,9 @@ namespace :gitlab do
end
Project.find_each do |project|
if project.repo_exists? && !project.satellite_exists?
if project.repo_exists? && !project.satellite.exists?
puts "Creating satellite for #{project.name}...".green
project.create_repo_satellite
project.satellite.create
end
end