Gentoo Archives: gentoo-server

From: Martin Hajduch <martin.hajduch@×××××××××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] multiple gentoo boxes, master file fetcher & override fetch restriction
Date: Thu, 04 Nov 2004 00:04:02
Message-Id: 418971E5.4060009@assyst-intl.com
In Reply to: Re: [gentoo-server] multiple gentoo boxes, master file fetcher & override fetch restriction by Marius Mauch
1 >You can't. It wouldn't be completely impossible to add support for this,
2 >but it would need a nontrivial amount of work and make the code even
3 >more complicated (read the 'fetch' function in portage.py and you'll
4 >understand ;).
5 >
6 >
7 are you sure that it would make the code even more complicated ?
8
9 i've read the function and it seems to be more or less just a reordering
10 of the actions; something like:
11
12 - for packages with fetch restrictions, try local mirrors only
13 (for packages without the restriction, try local mirrors first, then
14 official mirrors -> as it is now)
15
16 - if a file cannot be fetched and restriction flag is turned on, print
17 message 'xyz has fetch restriction turned on ... bla bla ...' rather
18 then complain about no mirrors available or downloadable problems
19 (if the restriction flag is not turned on, print the current message)
20
21 what do you think ?

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies