cleanup rake tasks
This commit is contained in:
parent
30ee53624b
commit
83696b127b
8 changed files with 77 additions and 120 deletions
|
@ -1,11 +1,10 @@
|
|||
namespace :gitlab do
|
||||
namespace :gitolite do
|
||||
desc "GITLAB | Rebuild each project at gitolite config"
|
||||
task :update_repos => :environment do
|
||||
task :update_repos => :environment do
|
||||
puts "Starting Projects"
|
||||
Project.find_each(:batch_size => 100) do |project|
|
||||
puts
|
||||
puts "=== #{project.name}"
|
||||
puts "\n=== #{project.name}"
|
||||
project.update_repository
|
||||
puts
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue