Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [PATCH] eutils: Warn on built_with_use usage
Date: Tue, 18 Sep 2012 09:32:16
Message-Id: 20120918093132.GB5384@localhost
In Reply to: [gentoo-dev] Re: [PATCH] eutils: Warn on built_with_use usage by Ryan Hill
1 On Tue, Sep 18, 2012 at 02:35:42PM -0600, Ryan Hill wrote:
2 > > On Mon, Sep 17, 2012 at 08:45:22AM +0200, Ralph Sennhauser wrote:
3 >
4 > > > Almost all affected packages can be bumped straight to 4 anyway and
5 > > > so use the improved syntax.
6 >
7 > toolchain_src_compile: EAPI=0: count: 38
8 >
9 > I'm not sure this can change any time soon. :/
10
11 Honestly, if it was knocked down to <50 left in the tree, I'd be fine
12 with it.
13
14 Once reaching that level, the following could be done:
15
16 1) mangling built_with_use adding a an explicit whitelist of callers,
17 making everything else a die.
18 2) keep the existing /var/db/pkg format aware code in place.
19 3) Expand the function w/ manager aware code as necessary to deal w/
20 said managers potentially shifting to new vdb forms.
21
22 I doubt ciaran will like #3, but if we can get it down to .15% of the
23 tree at that point pragmatism should rule the day; as long as the PM
24 has alternate ways to query the info without accessing the VDB
25 directly (even if those ways are outside PMS), I'm fine with it, and I
26 expect most folk would be.
27
28 ~harring