Bugs: Browse | Submit New | Admin
Currently lib/vlad/git.rb doesn't support submodules, which can be a problem if vendor dir's contents are submodules. AFAIK it needs to change both checkout and export methods. The first one could be handled like this: git clone #{repository} #{destination} cd #{destination} git checkout -f -b deployed-#{revision} #{revision} git submodule update --init I'm still thinking how export could be fixed (git archive doesn't archive submodules), maybe a much simpler (cd repo && tar cf -) | (cd #{destination} && tar xf -) would be better.
Add A Comment:
Date: 2009-08-21 07:11 Sender: Balazs Nagy Sure, I'll do it right after I return from my holidays.
Date: 2009-08-20 21:58 Sender: John Barnette I've extracted Vlad's Git support, and the canonical repo is on GitHub: http://github.com/jbarnette/vlad-git Would you like to take a stab at a fork and a patch there?
Date: 2009-05-11 14:46 Sender: Balazs Nagy I did it. http://github.com/julian7/vlad/commit/3cdad0d7e3916c5c792d5f64e42 ac491d629f1ee WFM, I haven't even bothered trying to set up the test environment. Maybe in another patch.