[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-29 Thread Rafael G.
I don't know git (I use it for basics things) but could you put your octave code as external in your rails app? Joshua wrote: It resides as two subdirectories of a single git repository. E.g., root/.git root/my-nifty-rails-app root/a-pile-of-octave-code-and-libraries

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-29 Thread Lee Hambley
I would expect this would work quite nicely if they were in two repositories (if you are thinking of them as two separate pieces of code). Then app A) could treat app B) as submodule 2009/6/29 Rafael G. r...@aspgems.com I don't know git (I use it for basics things) but could you put your

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-29 Thread Rafael G.
When I said external I want to said external repository (as in subversion). When you update your rails app then your external repository will be updated too. So you don't need try to set two repositories in capistrano. Lee Hambley wrote: I would expect this would work quite nicely if they

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-29 Thread Peter Booth
Do you always need to deploy both together? Might you ever want to deploy them separately? On Jun 29, 2009, at 5:08 AM, Lee Hambley wrote: I would expect this would work quite nicely if they were in two repositories (if you are thinking of them as two separate pieces of code). Then app

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-29 Thread Joshua
I'd rather keep them in a single repository just because of the headache of managing lots of repositories - the repository they are in is already one of a number of repositories.. It seems like it'd be nice if the notion of a package/module was distinct from the notion of a repository. Josh On

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-29 Thread Joshua
Sometimes I only change one of them and not both, so yes, I can imagine only wanting to deploy one. On the other hand, they are both pretty small, so I don't mind treating them as a single unit from a deployment perspective. Josh On Jun 29, 12:52 pm, Peter Booth pbo...@nocoincidences.com wrote:

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-28 Thread Lee Hambley
Does is reside in one repository or two? - Lee 2009/6/28 Joshua redst...@gmail.com Hi, I'm new to Capistrano. Is there an easy way to deploy an application that requires two directories? The first directory is a vanilla Ruby on Rails application directory tree. The second is a directory

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-28 Thread Joshua
It resides as two subdirectories of a single git repository. E.g., root/.git root/my-nifty-rails-app root/a-pile-of-octave-code-and-libraries root/a-bunch-of-other-stuff I'm interested in deploying 'my-nifty-rails-app' and 'a-pile-of-octave- code-and-libraries'. Also the rails app depends on