fast automerge: base implementation

This commit is contained in:
Valery Sizov 2012-04-22 15:19:09 +03:00
parent ae565d24ee
commit dcbb875c46
4 changed files with 36 additions and 11 deletions

View file

@ -6,6 +6,13 @@ namespace :gitlab do
git.admin_all_repo
end
Project.find_each do |project|
if project.repo_exists? && !project.satellite_exists?
puts "Creating satellite for #{project.name}...".green
project.create_repo_satellite
end
end
puts "Done!".green
end
end