Re: Customizing transport
Jo Ryden <jryden-qy96gJgLbLBWk0Htik3J/[email protected]> Thu, 22 Apr 2004 12:35:02 -0700
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
Quoting Bram Moolenaar <[email protected]>: => => Jo Ryden wrote: => => > newbie question here... I'm writing my first small recipe which looks => like: => > => > --- => > RSYNC = rsync -a --rsh=ssh --copy-links => > HTMLFiles = => > public/ => > :attr {publish = rsync://some.server.com/path/%file%} => > $HTMLFiles => > --- => > => > But I obviously haven't quite figured out how to customize the rsync => command => > used (the one above isn't read) so I'm wondering where/how exactly do you => set => > $RSYNC? => => I would think you have set RSYNC correctly. But publishing a directory => doesn't work this way, using the "publish" attribute. => => This should work: => => :copy {r} public rsync://some.server.com/path/ => => But then Aap doesn't take care of remembering what was done, thus you => need to specify a dependency for it. => => If publishing a whole directory is a generic thing to do, perhaps => support for it over rsync can be added to Aap. Thanks Bram - this makes sense. And to answer your thought above; we typically do this a lot (publish whole directories using rsync) with some home grown scripts right now but with no time to maintain that code - that's what got me looking at Aap (which in all other respects is mighty impressive so far!). --Jo ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg297