On Fri, Oct 15, 2010 at 11:30 PM, Blake <rock...@sharpend.us> wrote:
> thanks john, I just tried that and it does add the extensions, but
> they are pulled from their original location (i.e. these are all
> hosted at github)  but a couple of them have had to be altered by me
> to have them work on my server, and I want them to either
> a) have changes to /vendors/extensions/...  be added with git add .
> b) ignore the folders all together and not create empty folders on the
> server.

If you've pulled extensions from github and committed changes to them,
the submodule will fail because the submodule will point to a commit
that doesn't exist at the source (github). You should see errors from
capistrano during your deployment, what errors do you get?

You can add content to your main project without submodules by adding
the extension paths with a trailing slash.

Add a submodule path like this vendor/extensions/something
Add actual content like this vendor/extensions/something/

Note the trailing slash.

Does this help?

>
> Anyway , thanks again.
> Blake
>
> On Oct 13, 11:20 am, john muhl <johnm...@gmail.com> wrote:
>> On Wed, Oct 13, 2010 at 9:51 AM, Blake <rock...@sharpend.us> wrote:
>> > my setup is a local version of radiant with two custom extensions, and
>> > few installed ones (mailer, mediamaid, settings, share_layouts). I
>> > have a git repo of the project that I can cap deploy to my server
>> > successfully, but the extensions that I installed do not get copied
>> > up, meaning that the 'folder' gets added to git and and empty folder
>> > is pushed to the server.
>>
>> i believe `./script/extension install` adds extensions as git
>> submodules. try adding:
>>
>> set :git_enable_submodules, 1
>>
>> to your config/deploy.rb file.
>



-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338

Reply via email to