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