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
--