Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] comprehensive eclass checking in repoman
Date: Thu, 24 May 2012 21:01:34
Message-Id: 4FBEA169.40707@gentoo.org
In Reply to: Re: [gentoo-dev] comprehensive eclass checking in repoman by Kent Fredric
On 05/24/2012 01:52 PM, Kent Fredric wrote:
> On 25 May 2012 08:28, Zac Medico <zmedico@g.o> wrote: >> >> I expect that reading and validating the cache is probably not going to >> be much faster than just parsing the eclasses over again. >> -- > > Unless, you don't care if the cache is out-dated because the cache is > optional / the syntax checking is optional, and its only made > available when you generate it manually.
Putting the responsibility of cache validation on the user is not really an option here, because it's just going to lead to bug reports of the form "repoman is using stale eclass info in its checks". -- Thanks, Zac