1 |
On 3/31/20 6:21 PM, Samuel Bernardo wrote: |
2 |
> |
3 |
> But after your explanation, I understand now that mirror types provides |
4 |
> alias to use in ebuild SRC_URI, specially useful for the update task |
5 |
> (awesome). |
6 |
> |
7 |
|
8 |
Beware: thirdpartymirrors doesn't really do anything useful for normal |
9 |
ebuilds in ::gentoo. The gentoo infrastructure will automatically mirror |
10 |
anything in SRC_URI unless you set RESTRICT=mirror -- and that's where |
11 |
most people will download them from -- so (for example) adding a bunch |
12 |
of extra thirdpartymirrors entries to ensure that the distfiles are |
13 |
accessible is counter-productive: everyone will get the stuff from the |
14 |
gentoo mirrors anyway, and you wind up with a bunch of dead entries in |
15 |
the thirdpartymirrors file (at least half of the entries in there right |
16 |
now are dead, and no one is ever going to clean them up because no one |
17 |
uses them). |