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

Re: New APT Version



Jason Gunthorpe <jgg@gpu.srv.ualberta.ca> writes:

> On 5 Apr 1998, Rob Browning wrote:
> 
> > Jason Gunthorpe <jgg@gpu.srv.ualberta.ca> writes:

> > > The APT http method supports full pipelining, resume, date
> > > checking, and proxy servers. Typically it sends about -1- packet
> > > to the remote server that has all the files to fetch in it and
> > > then just waits while the remote streams data at it.

This must use the new HTTP 1.1 stuff.  

> > > For those of you with high bandwidth links, I have measured
> > > about a ~5% BPS (10k/s!) gain over ftp, and for those of you
> > > with high lag the lack of handshaking also dramtically speeds
> > > things up.

> > OK, so is there any such thing as good http mirroring tool that
> > preserves symlinks, etc (at least as much info as mirror)?  If http is
> > substantially better, then it would be nice to use it to maintain
> > local mirrors too.

> I don't know of one, but you could write one fairly easially. What you do
> is fetch the ls-lR.gz file and parse it to understand symlinks and so on,
> compare that with your local copy and then fetch all the out of sync
> files.

This should definitely be written, although for people with login
access I'd still advocate rsync for mirroring.  (It only transfers the
parts of files that have changed.)

If we used a "find . -ls" file instead of a ls-lR file, we'd also be
able to handle hard links.

(We could also use ls-ilR, but it is easier to parse full pathnames
out of the find output.)


Steve
dunham@cps.msu.edu


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: