fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Rsync_project in 1.5.1


From: Jeff Forcier
Subject: Re: [Fab-user] Rsync_project in 1.5.1
Date: Sat, 1 Dec 2012 15:33:28 -0800

Hi Carl,

On Tue, Nov 27, 2012 at 1:19 PM, Carl E. Ma <address@hidden> wrote:
> Hello,
>
> Problem I experienced is rsync_project does not take value from host_string 
> variable and keeps reporting no host defined. I can use os.system() to run 
> rsync, but just wonder what I missed when use rsync_project.

Something may be slightly off in your code -- rsync_project definitely
makes use of env.host_string:

    https://github.com/fabric/fabric/blob/master/fabric/contrib/project.py#L101

If you are able to share a sample of your code & the output from when
you run it, that might help us figure out what's up.

I'll also mention that get() is capable of grabbing files recursively
(and can also use glob syntax), so depending on your specifics, that
might be worth exploring over rsync.

Best,
Jeff


-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org



reply via email to

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