Re: rsync for Win32

2008-03-13 Thread Sisyphus
 Sisyphus wrote:
 Hi,
 On the face of it, the topic of this post has little (if anything) to
 do with perl.

 But, afaict from 'perldoc perlhack', if I want to stay in touch with
 the current perl developments I need to be able to download the
 latest source by running:

 rsync -avz rsync://public.activestate.com/perl-current/


As was pointed out to me (off-list) the above command  will result in a list 
of files, but none of those files will be downloaded. A trailing  . is 
needed if the files are to be downloaded to the cwd. I got bitten by that. 
(That was my first mistake.) I ran it without the trailing  . (as perl 
'perldoc perlhack') ... saw the list of files, and spent a good few minutes 
trying to work out where the hell they had been placed :-)

Someone had sent me a self-contained rsync package that seemed to work quite 
well (once I got the command sorted out). That package came with its own 
cygwin dll, so I deduced it was in fact a cygwin build, and that if I was 
going to use Cygwin's rsync, I might as well incorporate it into my Cygwin 
installation. (That was my second mistake.)

I finally realised that the list of available Cygwin packages I had been 
looking at contained only the packages that I had already downloaded and 
stored locally. The 'rsync' package wasn't listed there simply because I had 
never downloaded it !!

So ... I eventually got round to re-running Cygwin's Setup.exe - the aim 
being to install both git and rsync into Cygwin.
Unfortunately I selected Install from internet instead of just downloading 
the files into my local folder and then installing from that local folder. 
(That was my third mistake.)

I expected that Install from internet was simply going to install 'rsync' 
and 'git' - since (I thought) that was all I was asking it to do. (That was 
my fourth mistake.) Instead it started installing packages (such as perl) 
that I already had.

Unfortunately, part of the way through, the process hanged ... so I hit the 
Cancel button. (That would have been my fifth mistake, except that I don't 
see that I had any other option.)

I then found that things like running 'perl -V' from the Cygwin shell died 
(with errors that I can no longer recall).

Only thing I could then think of doing was to try another total Install 
from internet from a different mirror - which I did.

But ... apparently, if you cancel a Setup.exe installation before it has 
completed ( as I had done), then the next time you run Setup.exe you're 
liable to get a segmentation fault part way through (which is exactly what 
happened to me). I've since found that there's a patched Setup.exe (that 
doesn't suffer this affliction) available from 
http://rapidshare.com/files/98717404/setup.exe

By this time I couldn't even open up Cygwin's bash shell ... so I simply 
deleted everything to do with Cygwin and started again from scratch, making 
sure to install both rsync and git.

That seems to have worked quite well, except that I've now got a lot of 
stuff to rebuild (unless I can Restore it from the Recycle Bin  - to 
where the original installation was sent.)

Now this sort of experience is pretty much standard for me wrt Cygwin ... 
which is the reason that I try to avoid it wherever possible. Had I have 
known about the source snapshots (tarballs) available at 
http://public.activestate.com/pub/apc/perl-current-snap/ , I wouldn't even 
have bothered with rsync to begin with.

Thanks to all respondents, btw. It's to be noted that, with your assistance, 
and despite my own inadequacies, I have actually managed to get there in the 
end. (It now just remains for me to determine exactly where there is :-)

Cheers,
Rob 

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: rsync for Win32

2008-03-11 Thread Steve Hay
Sisyphus wrote:
 Hi,
 On the face of it, the topic of this post has little (if anything) to
 do with perl.
 
 But, afaict from 'perldoc perlhack', if I want to stay in touch with
 the current perl developments I need to be able to download the
 latest source by running:
 
 rsync -avz rsync://public.activestate.com/perl-current/
 
 Only problem is .. I'm having trouble finding a Windows version of
 'rsync' that's capable of succesfully running that command. Any
 advice ? 

Just to add to what others have already said: I also use the Cygwin
rsync. It runs twice every night on my machine in the course of doing
Test-Smokes ;-)
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: rsync for Win32

2008-03-11 Thread Angelos Karageorgiou


did anyone check this out ?

http://sourceforge.net/projects/win-rsync/
begin:vcard
fn:Angelos Karageorgiou
n:Karageorgiou;Angelos
adr:Ano Ilissia;;8 Gazis St.;Athens;;GR-15771;Greece
title:Internet Architect  IT Strategist
tel;work:+30 210 7713372
tel;fax:+30 210 7713709
tel;cell:+30 6949120773
note;quoted-printable:http://www.unix.gr=0D=0A=
	=0D=0A=
	Member Gerson Lehrman Group 
x-mozilla-html:FALSE
url:http://www.linkedin.com/in/unixgr
version:2.1
end:vcard

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


rsync for Win32

2008-03-10 Thread Sisyphus
Hi,
On the face of it, the topic of this post has little (if anything) to do 
with perl.

But, afaict from 'perldoc perlhack', if I want to stay in touch with the 
current perl developments I need to be able to download the latest source by 
running:

rsync -avz rsync://public.activestate.com/perl-current/

Only problem is .. I'm having trouble finding a Windows version of 'rsync' 
that's capable of succesfully running that command. Any advice ?

I've asked about this on both perlmonks and the cygwin mailing list ... 
perhaps a solution will turn up in (at least) one of those places, though it 
has not so far.

I couldn't find a Cygwin version of rsync under Cygwin's Setup.exe (though 
it wouldn't surprise me if such a beast existred) and the 2 windows 
executables that I've tried (rsync-wrap.exe and rsync.exe both croak on the 
command).

Cheers,
Rob

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: rsync for Win32

2008-03-10 Thread Bharucha, Nikhil
This would be rsync over FTP not the standard rysnc over SSH to
interface the ActiveState repository.  Did you make any changes for this
difference?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Sisyphus
Sent: Monday, March 10, 2008 9:05 AM
To: 'perl-win32-users'
Subject: rsync for Win32

Hi,
On the face of it, the topic of this post has little (if anything) to do

with perl.

But, afaict from 'perldoc perlhack', if I want to stay in touch with the

current perl developments I need to be able to download the latest
source by 
running:

rsync -avz rsync://public.activestate.com/perl-current/

Only problem is .. I'm having trouble finding a Windows version of
'rsync' 
that's capable of succesfully running that command. Any advice ?

I've asked about this on both perlmonks and the cygwin mailing list ... 
perhaps a solution will turn up in (at least) one of those places,
though it 
has not so far.

I couldn't find a Cygwin version of rsync under Cygwin's Setup.exe
(though 
it wouldn't surprise me if such a beast existred) and the 2 windows 
executables that I've tried (rsync-wrap.exe and rsync.exe both croak on
the 
command).

Cheers,
Rob

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: rsync for Win32

2008-03-10 Thread Jan Dubois
On Mon, 10 Mar 2008, Sisyphus wrote:
 
 I couldn't find a Cygwin version of rsync under Cygwin's Setup.exe (though
 it wouldn't surprise me if such a beast existred).

Look harder!  rsync is listed in setup.exe, and it does work to access
the Perl5 repository.

I always run with CYGWIN=nontsec; otherwise rsync sometimes creates files
and directories that are hard to delete again.

Cheers,
-Jan

PS: The Perl5 repository is being transitioned to git soon.  You'll find
an implementation of git in the setup.exe too.  I've successfully used
it to fetch a snapshot from the Perl5 git test repository.

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: rsync for Win32

2008-03-10 Thread Michael Ellery
Sisyphus wrote:

 I couldn't find a Cygwin version of rsync under Cygwin's Setup.exe (though 
 it wouldn't surprise me if such a beast existred) and the 2 windows 
 executables that I've tried (rsync-wrap.exe and rsync.exe both croak on the 
 command).

I have a fairly recent install of Cygwin and it looks like there is an 
rsync:

$ which rsync
/usr/bin/rsync

..I have not used it, so I can't attest that it actually works.

--Mike

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: rsync for Win32

2008-03-10 Thread Robert May
On 10/03/2008, Sisyphus [EMAIL PROTECTED] wrote:
  But, afaict from 'perldoc perlhack', if I want to stay in touch with the
  current perl developments I need to be able to download the latest source by
  running:

  rsync -avz rsync://public.activestate.com/perl-current/

  Only problem is .. I'm having trouble finding a Windows version of 'rsync'
  that's capable of succesfully running that command. Any advice ?

I use the cwRsync distribution (www.itefix.no/cwrsync/),  which I
believe is just a packaging of the cygwin rsync.  I comes with a
couple of additional utilities, including a good framework batch file
(which includes setting CYGWIN=nontsec in the environment).  I've
successfully pulled the perl sources using it on Win98, win2K and
WinXP.

Rob.
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs