This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Re: Mirroring and stage and tmp dirs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Igor Peshansky wrote:
> On Sun, 16 Apr 2006, Robert Pendell wrote:
>
>> Should we be ignoring these folders during mirroring? I was mirroring
>> them but recently started getting permission denied errors during
>> transfers for those folders so they are now excluded from rsync
>> transfers (i.e. not on my public mirror). What is the stage folder used
>> for?
>
> The /stage folder is used to build up parts of the changed directory
> structure and transfer them over in one swell foop (to avoid a race with
> the upset cron job, where it could catch the uploader in mid-update and
> result in a broken setup.ini).
>
> In short, you should not mirror that directory, as nothing in there is
> going to be useful on a mirror.
>
>> rsync: send_files failed to open "/stage/tcp_wrappers-7.6-2.sh" (in
>> cygwin-ftp): Permission denied (13)
>> rsync: send_files failed to open "/stage/tcp_wrappers_7.6.tar.gz" (in
>> cygwin-ftp): Permission denied (13)
>>
>> And from earlier on...
>> rsync: send_files failed to open "/stage/monotone-0.26-1.sh" (in
>> cygwin-ftp): Permission denied (13)
>
> You probably caught the uploader in the act of moving files from /stage to
> /release.
> Igor
Ok. I updated the cron job last night to exclude those folders from now
on. I've been trying to optimized the command so it causes as few 404's
as possible. It is setup to delete files after getting the new ones but
there are still a few occuring.
Oh and an interesting statistic. So far this month I have had more hits
from people using Wget then the regular setup program. _Alot_ more hits.
Wget (various versions) - 76841
Cygwin Setup - 26035
This is versus last month where Cygwin and Wget was very close. I
wonder if people are starting to branch (2nd tier) off my mirror...
- --
Robert Pendell
shinji257@uplink.net
Thawte Web of Trust Notary
CAcert Notary
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
iD8DBQFEQnFPNqnRaBCOmrYRAuiUAKCDgT/nvrCHNMj+L0MwKL9H2p5RhQCfQJWa
gFsRfDumtGgVxI2MgekP8e8=
=uS80
-----END PGP SIGNATURE-----