Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage.
Date: Mon, 14 Sep 2015 06:52:49
Message-Id: 22006.28341.281839.609893@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage. by Kent Fredric
1 >>>>> On Mon, 14 Sep 2015, Kent Fredric wrote:
2
3 > I don't believe it works that way.
4
5 > That would imply
6
7 > =pkg-1.0.2* would match 1.0.20
8
9 It does, in fact.
10
11 > When it only matches 1.0.2 and 1.0.2.*
12
13 > You're reading it in shell glob notation and not the portage notation,
14 > that the trailing dot is *implied*,
15
16 No, there isn't any dot implied. It uses simple prefix comparison, as
17 in shell globbing.
18
19 > which is why explictly stating it is illegal.
20
21 Explicitly stating the dot is illegal, because without the asterisk it
22 must still be a valid version specification.
23
24 Ulrich

Replies

Subject Author
Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage. Kent Fredric <kentfredric@×××××.com>