[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

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 car...@barrobes.com 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

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

[Fab-user] Getting the logs from a Python call

2010-11-23 Thread Xavier Ordoquy
Hi there, I have integrated fabric to a web based deployment application. Things seem to have taken a good shape with one exception. I can't find how I can get the console output from the command calls. I mean, I can get the command results but I can't understand how I could capture all the