Re: symlink, scp:// and filepath slashes

"Scott Henry Harrison" <harris41-mhe/[email protected]> Tue, 02 Mar 2004 11:24:23 -0500
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
>> :symlink $(WEBDIR)/welcome.html $(WEBDIR)/index.html  
>> 
> 
> I don't see "scp://" or $PREFIX being used there.  Anyway, Aap cannot
> make a symbolic link over scp://.  It is only supported for local files.
> One exception is "rsync://", although the default setting is to copy the
> file a link points to, not the link itself.  You can define $RSYNC to
> change that.  But then it still only works for :copy, not for :symlink.

Will symlink-scp support ever be extended for remote files?
(Would a patch be welcome?) 

>> Also, filepath slashing seems a little unintelligent 
>> 
>> WEBDIR=usr/local/www/data
>> :symlink $(WEBDIR)welcome.html $(WEBDIR)index.html  
>> 
>> :symlink "usr/local/www/datawelcome.html" "usr/local/www/dataindex.html" 
>> failed: [Errno 2] No such file or directory 
> 
> You have to take care of slashes yourself in this situation.  Aap sees
> only strings, it doesn't know that these are file names until the
> arguments are used.  Compare that with a shell script.

Aap is intelligent with slashes in other situations.  Could intelligent
handling of slashes be implemented (and would a patch be welcome)? 

I respect your vision for why things are the way they are with A-A-P;
I am just wondering what the future is, and if intelligent slash-handling
and scp+symlink processing is extraneous in terms of the overall
goals or keep-it-simple-notions you have for the software. 




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click