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
1 On 05/24/2012 01:52 PM, Kent Fredric wrote:
2 > On 25 May 2012 08:28, Zac Medico <zmedico@g.o> wrote:
3 >>
4 >> I expect that reading and validating the cache is probably not going to
5 >> be much faster than just parsing the eclasses over again.
6 >> --
7 >
8 > Unless, you don't care if the cache is out-dated because the cache is
9 > optional / the syntax checking is optional, and its only made
10 > available when you generate it manually.
11
12 Putting the responsibility of cache validation on the user is not really
13 an option here, because it's just going to lead to bug reports of the
14 form "repoman is using stale eclass info in its checks".
15 --
16 Thanks,
17 Zac