Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] slot op: do not remove := from vdb on unmatched dependencies.
Date: Thu, 31 Jul 2014 15:43:08
Message-Id: 20140731174314.5305719a@pomiot.lan
In Reply to: [gentoo-portage-dev] [PATCH] slot op: do not remove := from vdb on unmatched dependencies. by "Michał Górny"
1 Dnia 2014-07-31, o godz. 10:57:20
2 Michał Górny <mgorny@g.o> napisał(a):
3
4 > Previously, the slot operator processing code used to remove := operator
5 > from vdb dependency entries when the underlying package was not
6 > installed. With regards to a dependency alike || ( A:= B:= ), this
7 > suggested that the particular slot/subslot of installed package could
8 > be replaced by any slot/subslot of the other package. In particular, it
9 > confused dependency comparison in @changed-deps.
10 >
11 > Instead, store the original := (or :slot=) atom in vdb. It does not
12 > trigger any special behavior in the current dependency resolver, yet
13 > keeps the extra information. It also makes proper @changed-deps
14 > comparisons possible since the comparison code can know if the original
15 > ebuild had the slot operator.
16
17 I've just checked and that's also what paludis does.
18
19 --
20 Best regards,
21 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature