migrate repost +debug
This commit is contained in:
parent
4134a16737
commit
de735f9637
|
@ -2,8 +2,12 @@ namespace :repositories do
|
|||
|
||||
desc "Migrate repositories from fs"
|
||||
task :migrate => :environment do
|
||||
puts "Hello, doing haha"
|
||||
|
||||
repos_dirs = Dir["/root/mandriva_main_git/*.git"]
|
||||
|
||||
puts repos_dirs.inspect
|
||||
|
||||
cooker = Platform.find_by_name!("cooker")
|
||||
main = cooker.repositories.find_by_name!("main")
|
||||
|
||||
|
|
Loading…
Reference in New Issue