[Capistrano] Re: Cap ShellScriptBuilder

2007-01-23 Thread Rob Sanheim
On 1/23/07, NeilW [EMAIL PROTECTED] wrote: Ezra, I appreciate that the method_missing idea has a certain appeal to it, but does it really save that much time for the aggravation it might cause? I don't see a vast saving between sh.rm_rf fred and sh.rm -rf fred Particularly when

[Capistrano] Re: Cap ShellScriptBuilder

2007-01-23 Thread Jamis Buck
On Jan 22, 2007, at 10:02 PM, Ezra Zygmuntowicz wrote: So I have worked on this some more to incorporate being abel to set ENV vars per line if you want. sh.RAILS_ENV('production').mkdir_p 'foo/bar' #= RAILS_ENV=production mkdir -p foo/bar Nice! Jamis asked me to get the

[Capistrano] Re: Cap ShellScriptBuilder

2007-01-22 Thread Wayne E. Seguin
Ezra, I think this is a great idea and will prove very useful, I would definitely use it. I especially like your great use of method_missing. I do however forsee a problem with the current idea regarding calls like ln_nfs for ln -nfs. The issue I see here is with commands like:

[Capistrano] Re: Cap ShellScriptBuilder

2007-01-22 Thread Ezra Zygmuntowicz
Hey~ On Jan 22, 2007, at 8:20 AM, Wayne E. Seguin wrote: Ezra, I think this is a great idea and will prove very useful, I would definitely use it. I especially like your great use of method_missing. I do however forsee a problem with the current idea regarding calls like ln_nfs for ln

[Capistrano] Re: Cap ShellScriptBuilder

2007-01-21 Thread Jamis Buck
Good stuff, Ezra. This is great! I look forward to seeing what the standard cap recipes look like with this. Thanks! - Jamis On Jan 21, 2007, at 8:05 PM, Ezra Zygmuntowicz wrote: Hey Folks- I spent the weekend working on a shell script builder DSL for writing your capistrano