On Jan 22, 2007, at 6:14 AM, rylin wrote:

>
> Hey,
> our sourcetree isn't all too nicely organized, with lots of separate
> project in the same tree.
> It's somewhat well defined though, but as the repo is currently
> approaching 1GB of checked-out material, I need Capistrano to only
> check out the parts actually required for a project.
>
> This is, of course, something we're keeping track of today, so we know
> roughly which parts of the source tree is needed for certain projects.
>
> Given the example-tree:
> A
> -1
> --I
> -2
> B
> -3
>
> I might only need to deploy "I" and "3" (e.g., I don't need the
> contents of the entire tree, just the contents of I and 3).
>
> I'm guessing I'll have to start hacking a new update_code task, but
> I've no real idea on where to start.
> Any hints?

Well, the SCM modules that come with Capistrano won't help too much,  
I fear. Feel free to look at the update_code task in capistrano/ 
recipes/standard.rb and go from there. Basically, you'll do one  
checkout command for each branch of the tree you want to deploy.

Hope that helps,

Jamis


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to