Gentoo Archives: gentoo-pms

From: Brian Harring <ferringb@×××××.com>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] Remove cat/foo:* slot operator.
Date: Mon, 10 Sep 2012 07:07:31
Message-Id: 20120910070727.GC8036@localhost
In Reply to: Re: [gentoo-pms] [PATCH] Remove cat/foo:* slot operator. by Ciaran McCreesh
1 On Mon, Sep 10, 2012 at 07:39:47AM +0100, Ciaran McCreesh wrote:
2 > On Sun, 9 Sep 2012 13:12:43 -0700
3 > Brian Harring <ferringb@×××××.com> wrote:
4 > > Introduced originally via 8b54be6a, this is effectively a noop for
5 > > gentoo ebuilds- nor is it providing any useful information to either
6 > > the dev, or the PM, thus remove it.
7 >
8 > The point of :* is to allow repoman to detect situations where a
9 > package has a build and a run dep upon something that has multiple
10 > slots, and to remind the developer that they either need to := it, or
11 > to explicitly say that it's ok for slots to change.
12
13 Related, slot dep operators don't have any meaning in DEPEND;
14 shouldn't be usable in that case then (considering the binding
15 behaviour, it's only relevant to PDEPEND/RDEPEND).
16
17 > Without :*, there's no way to tell the difference between "the
18 > developer forgot, or slots were added in later", and "this really can
19 > switch slots at runtime".
20
21 The implication of this is that basically every damn ebuild's going to
22 grow :* however; that's rather ugly, and I'm not particularly sure
23 that's what folks signed up for.
24
25 Either way, the wording should include this justification; as is, it
26 reads as a no-op.
27
28 Current wording:
29
30 """
31 Indicates that any slot value is acceptable. In addition, for runtime
32 dependencies, indicates that the package will not break if the matched
33 package is uninstalled and replaced by a different matching package
34 in a different slot.
35 """
36
37 alternative-
38 """
39 Indicate that despite multiple slottings matching, this is known, and
40 acceptable for the slotting to change at runtime. Ebuilds by default
41 should not use unless necessary; the absense of this operator can be
42 used by QA tools to detect potential breakage when a pkg is being
43 converted to slotted.
44 """
45
46 Roughly. English ain't the forte- point is, include the reasoning and
47 the clarification for when it should actually be used (the original
48 text describes what it does, not why/when you should use it).
49
50 ~harring