diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-05 21:27:41 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-05 21:27:41 +0400 |
commit | 2d81f4880e7f27c0359d5d5b54822db2441ce6ea (patch) | |
tree | 6d9586debe8ef4e11e915ebee1d7ed1708614eef /lib | |
parent | bdc658095c6bc7e7a2a49447b404156f3f947fe1 (diff) |
keys migrate
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitolite_rebuild.rake | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/tasks/gitolite_rebuild.rake b/lib/tasks/gitolite_rebuild.rake index 5cf496196eb..558d4660ba8 100644 --- a/lib/tasks/gitolite_rebuild.rake +++ b/lib/tasks/gitolite_rebuild.rake @@ -1,11 +1,18 @@ desc "Rebuild each project at gitolite config" task :gitolite_rebuild => :environment do - puts "Starting..." + puts "Starting Projects" Project.find_each(:batch_size => 100) do |project| puts puts "=== #{project.name}" project.update_repository puts end - puts "Done" + puts "Done with projects" + + puts "Starting Key" + Key.find_each(:batch_size => 100) do |project| + project.update_repository + print '.' + end + puts "Done with keys" end |