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

Re: New APT Version



On 5 Apr 1998, Steve Dunham wrote:

> > > > 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.  

Yes.

> > 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.)

But for a debian mirror this is minimal and adds overhead. The bug system
though probably benifits quite a bit though.

> 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.)

Well, if someone generates the routine required to generate a list of
files from the ls-lR (or find or whatever) I would be able to provide the
rest of the code to do the fetching and status. 

Perl could probably work for the generator, just spit out the filenames on
stdout or some such.

Jason


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


Reply to: