Gentoo Archives: gentoo-dev

From: Chris Davies <c.davies@×××××××.org>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Retries for emerge and lo issue.
Date: Wed, 13 Feb 2002 16:05:53
Message-Id: 5.1.0.14.0.20020213212601.009fa560@pop.ntlworld.com
In Reply to: [gentoo-dev] IDE idea by vapor@vapor.org
1 Hi,
2
3 I'm just installing Gentoo at this moment (it takes a fair amount of time
4 on a modem :), and I've had a few ideas about what I'd like to add to the
5 emerge script if possible. Do you accept patches from anyone, or does a
6 perspective developer have to go through some debian-esque procedure?
7
8 Anyway, my idea was essentially to do with emerge scheduling and retries
9 when doing 'emerge system', and just retries in general when doing any
10 other emerge. I thought since you had three mirrors (at least one of which
11 appears somewhat unreliable) then emerge could check each one in order of
12 increasing ping time to establish which site to get a package from. I also
13 thought that if it got error responses from all three sites it might queue
14 the item for later download if it wasn't needed for a dependency
15 immediately, perhaps this could be controlled by a MAXRETRIES variable in
16 global make configuration file. Do you think this would be worth
17 implementing, or do you think it would make the system to complex?
18
19 Also I noticed that the loopback interface is not started by default, if
20 the user doesn't start it then they'll notice about the time that Perl
21 finishes downloading. Is there any reason that this interface isn't started
22 by the init process?
23
24 Anyway, thanks for the time spent on this nifty distribution.
25 C.Davies
26 (c.davies@×××××××.org)