Re: [gentoo-portage-dev] [PATCH] fetch: Use distfile fetching method to get layout.conf

2019-10-18 Thread Zac Medico
On 10/18/19 12:28 AM, Michał Górny wrote: > Rewrite the layout.conf getter to reuse the standard fetch() method > rather than using urlopen(). While at it, fix negative cache elision > to apply to memory cache as well (and not get written to disk if next > mirror was fine). > > Most importantly,

[gentoo-portage-dev] [PATCH] fetch: Use distfile fetching method to get layout.conf

2019-10-18 Thread Michał Górny
Rewrite the layout.conf getter to reuse the standard fetch() method rather than using urlopen(). While at it, fix negative cache elision to apply to memory cache as well (and not get written to disk if next mirror was fine). Most importantly, this ensures that we respect FETCHCOMMAND while