Re: [Fab-user] Fabric execution with Python calls instead of command-line

2010-11-29 Thread Carles Barrobés
Hi Jeff, Travis. Thanks for your replies. I was not aware of the documentation for running Fabric as a library. I have been taking a look at the doc and playing around, and have decided to take a different approach for my app. Instead using the fabfile as the starting point, I'll create a data

Re: [Fab-user] Fabric execution with Python calls instead of command-line

2010-11-23 Thread Travis Swicegood
I'll take a stab at this with caveat that I'm not the maintainer... Ahh - as I was writing this Jeff chimed in. Anything I say here that's in contradiction to him, believe him, not me (though I think we're actually in agreement on the various points). :-) On Tue, Nov 23, 2010 at 3:23 PM, Carles

Re: [Fab-user] Fabric execution with Python calls instead of command-line

2010-11-23 Thread Jeff Forcier
Hi Carles, On Tue, Nov 23, 2010 at 4:23 PM, Carles Barrobés i Meix wrote: > - Can I rely on using functions in fabric.main? At this time, no, it's not part of the published API. Basically, if it's not in the API section of the docs, it's not public API material, and we reserve the right to chan

[Fab-user] Fabric execution with Python calls instead of command-line

2010-11-23 Thread Carles Barrobés i Meix
Hi all, I'm writing a Django site to allow me remotely manage a series of customer installs of a web application using fabric. My goal is to call fabric from within some of my Django views (i.e. run some task in a fabfile on some remote servers, all from within the webapp), but I wouldn't li