fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] RFC: Implementing a current working directory / path refa


From: Nicolas Steinmetz
Subject: Re: [Fab-user] RFC: Implementing a current working directory / path refactoring feature
Date: Sun, 23 Nov 2008 18:38:31 +0100



2008/11/22 Jeff Forcier <address@hidden>
cd('workdir')
put('build/package.tar.gz', 'package.tar.gz') # saved inside the workdir

if it means somehting like :
co workdir
scp build/package.tar.gz server:/workdir/build/package.tar.gz,

Then, I'm not fan of it as it assumes you have the same directory structure on your deployment server and one the target server(s). In my case, it's not the case and I put my archive in /tmp/ and then use them as I want.

Making the workdir implicit seems for me too magical and source of confusion. If the workdir is to be used, it has to be mentioned explicitely. It would also help user to appropriate fabfile content if they are not the creator/maitenor of the file.

My 2 cents,
Nicolas
--
Nicolas Steinmetz
http://www.steinmetz.fr - http://www.unelectronlibre.info/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]