It depends what you need, both are totally valid. There's an argument to say that all components deserve their own repository (to paraphrase Torvalds "git repos are cheap") (*unless you use Github*). If each component can be deployed alone, then do it that way.
If you have a compound project, barring the fact that Cap3 doesn't support submodules yet (see https://github.com/capistrano/capistrano/pull/826 and https://github.com/capistrano/capistrano/pull/822) have one meta project that contains references to all the other projects. This is a nice way to bring components into a "known good working state" without resorting to multiple releases. Even in the submodule way, there's an argument for having one meta task which goes into each submodule and runs each deploy in turn, and rolls back if anything fails vs. something that deploys the "meta" repo, with all of it's components. Capistrano was designed to be flexible, and if you have some really special needs, you can just drop down a level and use SSHKit, which is the slightly-less-raw backend driver that Capistrano uses internally. Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 9 December 2013 18:11, Red Hot Chili Pepper <[email protected] > wrote: > I'm new to capistrano and was curious what the paradigm is for managing > deploy scripts for multiple repositories. > > Is it atypical to have a separate repo for all your deploy scripts and > then just run the deploy from a single server which has capistrano > installed? > > The other way I've seen Capistrano used involves having the Capfile in the > root directory of each of the repositories with each of the deploy scripts > used for that repo in the config directory. > > -- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/capistrano/0c6e140e-bd9a-42b0-86b2-17161a20572c%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLWN8vOb7O1i-RdZ8Nk%3DUhjZUp9aNxD_8O7xQM_FhMPRfA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
