Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] metadata/md5-cache
Date: Sun, 03 Jun 2012 09:11:19
In Reply to: Re: [gentoo-dev] metadata/md5-cache by James Cloos
On 06/02/2012 08:52 PM, James Cloos wrote:
>>>>>> "ZM" == Zac Medico <zmedico@g.o> writes: > > Thanks for the quick reply and the reference to the bz. > > ZM> We had a bug about that [1] when we first deployed md5-cache, but it's > ZM> supposed to have been fixed. > > It is not fixed. The behavior has not changed in any way since md5-cache was added.
As I've noted on the bug, a simple mtime check on the cache entries seems to indicate that it's working properly.
> ZM> [1] > > I've added a please re-open note to that bug. > > Thanks for working on it.
One way that we can reduce the amount of cache regeneration is to add support for elibs: Since elibs aren't allowed to modify the ebuild metadata, the metadata cache doesn't need to be regenerated when elibs are modified. For example, if eutils was an elib, we would avoid a lot of cache regeneration each time it was modified. -- Thanks, Zac