Gentoo Archives: gentoo-dev

From: Luke-Jr <luke-jr@×××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Subcategores and a C comment
Date: Mon, 04 Oct 2004 18:32:07
Message-Id: 200410041832.04604.luke-jr@utopios.org
In Reply to: Re: [gentoo-dev] Subcategores and a C comment by Nicholas Jones
1 On Monday 04 October 2004 6:00 pm, Nicholas Jones wrote:
2 > > It seems like you're assuming that only one file can be fetched per
3 > > connection. I haven't researched the topic much, but I'm pretty sure
4 > > HTTP, not to mention FTP, supports multiple requests with one connection.
5 >
6 > How do you handle changing depends? You cannot safely assume that
7 > a single download of all current relevant directories will be
8 > complete. Thus... You have to connect and download multiple times.
9
10 Not neccesarilly... Open connection; fetch pkgiwant; check deps; fetch
11 depineed; no more deps: Close connection
12 Determining dependencies should be fast enough to keep the connection open
13 for.
14
15 >
16 > HTTP/FTP would add in complexity to portage's update procedure.
17 > Now we'd have to ensure that our information is correct. wget
18 > could do this with timestamps, but then you lose the forcable
19 > checking of the contents by checksum.
20
21 How so? Fetch checksums too.
22 And the purpose of such an ability would be to make sync-updates unneccesary.
23 --
24 Luke-Jr
25 Developer, Utopios
26 http://utopios.org/

Replies

Subject Author
Re: [gentoo-dev] Subcategores and a C comment Nicholas Jones <carpaski@g.o>