Gentoo Archives: gentoo-portage-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] match_from_list: restrict =* to match only on version part boundaries (bug 560466)
Date: Mon, 21 Sep 2015 05:39:42
Message-Id: 22015.38930.438791.575353@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-portage-dev] [PATCH] match_from_list: restrict =* to match only on version part boundaries (bug 560466) by Zac Medico
1 >>>>> On Sun, 20 Sep 2015, Zac Medico wrote:
2
3 > Make the =* glob match only on boundaries between version parts, in
4 > order to eliminate ambiguity (so that 1* does not match version 10).
5 > Only break compatibility in cases where dependencies have been
6 > specified ambiguously.
7
8 Does this patch consider suffix parts (including the integer if
9 present) as a single component?
10
11 That is, the following should match:
12
13 =cat/foo-1_alpha* cat/foo-1_alpha_beta
14
15 But these should *not*:
16
17 =cat/foo-1_p* cat/foo-1_pre
18 =cat/foo-1_alpha* cat/foo-1_alpha1
19
20 (The boundary of the version components is after _alpha and _alpha1,
21 respectively.)
22
23 Ulrich

Replies