From: | Ulrich Mueller <ulm@g.o> | ||
---|---|---|---|
To: | gentoo-project@l.g.o | ||
Cc: | Gentoo Council <council@g.o> | ||
Subject: | [gentoo-project] Re: Call for Agenda Items -- Council Meeting 2015-10-11 | ||
Date: | Wed, 30 Sep 2015 18:43:57 | ||
Message-Id: | 22028.11605.929471.805635@a1i15.kph.uni-mainz.de | ||
In Reply to: | [gentoo-project] Call for Agenda Items -- Council Meeting 2015-10-11 by "Andreas K. Huettel" |
1 | Please add "Behaviour of asterisk with = dependency operator" to the |
2 | agenda. |
3 | |
4 | In a nutshell: By the current description of the * operator in PMS, |
5 | a dependency cat/foo-1.2* matches cat/foo-1.2, cat/foo-1.2.1, etc. |
6 | (which is what is intended) but it also matches cat/foo-1.20. |
7 | For details see bug 560466 [1]. |
8 | |
9 | I propose that we update the definition in PMS such that version |
10 | components cannot be split when matching (i.e. 1.2* would not match |
11 | 1.20). |
12 | |
13 | Alternatives to vote on (in order of my own preference): |
14 | a) Introduce this change retroactively for all EAPIs |
15 | b) Introduce it in EAPI 6 |
16 | c) Introduce it in a later EAPI |
17 | |
18 | A patch for variant a) can be found in [2]. For the other variants, |
19 | it would be similar but with an additional EAPI table. |
20 | |
21 | Note that Portage anticipated this change and implements the new |
22 | behaviour since version 2.2.21 already [3]. |
23 | |
24 | Ulrich |
25 | |
26 | [1] https://bugs.gentoo.org/show_bug.cgi?id=560466 |
27 | [2] https://560466.bugs.gentoo.org/attachment.cgi?id=412594 |
28 | [3] https://gitweb.gentoo.org/proj/portage.git/commit/?id=d4966a381ee4577818bd972946647338046715b1 |