bodikp
September 25, 2008, 9:18pm
1
I’m currently working on another radiant instance and I’m using github.
I freezed the edge of radiant in my project, in my github account I can
see
a link in vendor/radiant but thats it…
When I do a deploy, the code inside vendor/radiant is not checked-out…
(euh… pulled)
I tried to add set :git_enable_submodules, 1 to my capistrano deploy.rb,
but
this is giving met the following error:
No submodule mapping found in .gitmodules for path ‘vendor/radiant’
I will investigate further… looking for a .gitmodules for example…
But anyone with a solution?
Thanks.
–
met vriendelijke groet,
Peter B.
bodikp
September 25, 2008, 9:22pm
2
The freeze task does a clone into vendor/radiant as opposed to adding
it as a submodule. To put it in as a submodule first unfreeze (i.e.
delete vendor/radiant) then try
git submodule add git://github.com/radiant/radiant.git vendor/radiant
Then on a new deployment you’ll need to run
git submodule init
git submodule update
I’m guessing that’s what :git_enable_submodules, 1
tries and fails
to do. So you may never need to manually run the last two commands.
bodikp
September 25, 2008, 9:27pm
3
Thanks!
Github does something funny with the cloned radiant. It only links it…
or
something like that… I don’t really understand why it is like this…
Peter
On Thu, Sep 25, 2008 at 9:21 PM, john [email protected] wrote:
see
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
–
met vriendelijke groet,
Peter B.