Gentoo Archives: gentoo-portage-dev

From: Marius Mauch <genone@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [rfc] variable naming for marking binaries as QA ignorable
Date: Mon, 06 Mar 2006 02:18:59
Message-Id: 20060306031249.4e3d5b82@delenn.genone.homeip.net
In Reply to: Re: [gentoo-portage-dev] [rfc] variable naming for marking binaries as QA ignorable by Mike Frysinger
1 On Sun, 5 Mar 2006 20:46:25 -0500
2 Mike Frysinger <vapier@g.o> wrote:
3
4 > On Sunday 05 March 2006 19:48, Kevin F. Quinn (Gentoo) wrote:
5 > > Ned Ludd <solar@g.o> wrote:
6 > > > On Fri, 2006-03-03 at 23:32 -0500, Mike Frysinger wrote:
7 > > > > so we've found some cases where a package installs objects that
8 > > > > either need to be ignored by some of the scanelf checks ...
9 > > > >
10 > > > > ...
11 > > > >
12 > > > > what this e-mail is about is naming convention ... i'm thinking
13 > > > > that an ebuild sets up a variable with a list of relative paths
14 > > > > to $D of files that should be skipped for various checks ... so
15 > > > > with slmodem, we'd have like: QA_EXEC_STACK="usr/sbin/slmodemd
16 > > > > usr/sbin/slmodem_test"
17 > > > >
18 > > > > if, in the future, we need to add an ignore list for TEXTRELs,
19 > > > > we'd use QA_TEXTRELS="...."
20 > > >
21 > > > This becomes tricky when looking at tests across all CHOSTs.
22 > > > What holds true for one arch defiantly is not the case for others.
23 > >
24 > > This could be done via the profiles, perhaps - package.qa, something
25 > > like package.mask/use/keywords:
26 >
27 > i hate such things ... imo this information should stay in the ebuild
28 > and nowhere else ...
29 >
30 > be trivial to expand the support like:
31 > QA_TEXTRELS="..." # for all arches
32 > QA_TEXTRELS_arch="..." # for just one arch
33 >
34 > so in the case of slmodem:
35 > QA_EXEC_STACK="usr/sbin/slmodemd"
36 > in the case of some other package that only has issues on x86:
37 > QA_EXEC_STACK_x86="some/foo"
38 >
39 > this thread was about the naming convention :P
40 > does QA_EXEC_STACK and QA_TEXTRELS work for people ?
41
42 Personally I'd call it QA_IGNORE_*, but that's just me.
43
44 Marius
45
46 --
47 Public Key at http://www.genone.de/info/gpg-key.pub
48
49 In the beginning, there was nothing. And God said, 'Let there be
50 Light.' And there was still nothing, but you could see a bit better.
51 --
52 gentoo-portage-dev@g.o mailing list