Re: [Fab-user] Getting SyntaxError: invalid syntax from fab

2010-02-10 Thread Jeff Forcier
Hi Stas, Unfortunately, Fabric is only compatible with Python 2.5 and up (due to using some new Python features in 2.5,) so 2.4 is not supported :( It's possible to get Python 2.5 on CentOS, but it usually involves building from source (though there are some i386 RPMs for 2.5 floating around) so

[Fab-user] Log integratiing extra commands

2010-02-10 Thread Nicolas Steinmetz
Hi, Back to fabric, I rewrote yesterday my perl deployment tool in fabric. So far, I handle the basic use case simple deployment. I have other UC to implement : - backup (quite easy) - complex deployment For complex deployment, i may need to run extra commandes like run some scripts on

Re: [Fab-user] Log integratiing extra commands

2010-02-10 Thread Jeff Forcier
Hi Nicolas, On Wed, Feb 10, 2010 at 11:32 AM, Nicolas Steinmetz nsteinm...@gmail.com wrote: For complex deployment, i may need to run extra commandes like run some scripts on one or serveral frontal servers or on a given db. I would like to avoid providing a new fabfile and was looking for

Re: [Fab-user] Log integratiing extra commands

2010-02-10 Thread Nicolas Steinmetz
Hi, 2010/2/10 Jeff Forcier j...@bitprophet.org Hi Nicolas, On Wed, Feb 10, 2010 at 11:32 AM, Nicolas Steinmetz nsteinm...@gmail.com wrote: For complex deployment, i may need to run extra commandes like run some scripts on one or serveral frontal servers or on a given db. I would

Re: [Fab-user] Log integratiing extra commands

2010-02-10 Thread Unatine
On Wed, Feb 10, 2010 at 11:54 PM, Nicolas Steinmetz nsteinm...@gmail.com wrote: Hi, 2010/2/10 Jeff Forcier j...@bitprophet.org Could you provide an example here? I'm afraid I don't quite follow what you're asking :) Yep, of course :-) For now, I have a commands.upd file which can contains

Re: [Fab-user] how to hide a method that's not a command, and how to alias a command

2010-02-10 Thread Jeff Forcier
Hi Phlip, On Wed, Feb 10, 2010 at 6:16 PM, Phlip phlip2...@gmail.com wrote: I can prefix them with _, such as def _find_changed_tests(), but if I forgot the prefix (or if Python handed me some overwhelming reason to not underbar the non-command method), how can I hide the method? Is there a