Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Dependencies default to accept any slot value acceptable (:*), can we default to :0 instead?
Date: Sun, 08 Dec 2013 20:01:23
Message-Id: 21156.53244.886349.924357@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] Dependencies default to accept any slot value acceptable (:*), can we default to :0 instead? by Rich Freeman
1 >>>>> On Sun, 8 Dec 2013, Rich Freeman wrote:
2
3 > Sure it does - it defaults to :* when :* was never specified. I don't
4 > see how defaulting to :0= is a "policy" any more than :* is.
5
6 Defaulting to :* is just the long term behaviour from EAPIs 0 to 4
7 when no slot operator was specified. This is consistent with what we
8 haved for versioned dependencies. When you don't specify a version,
9 then all versions are good. Similarly, when you don't specify a slot,
10 then all slots are good.
11
12 Our rules of slot/subslot dependencies and slot operators are just
13 complicated enough, so I really would dislike complicating them even
14 more by having an EAPI dependent default. In addition, from a package
15 manager view there is nothing special at all about slot 0, so there's
16 no reason to prefer it over other values.
17
18 Ulrich

Replies