From: | Kent Fredric <kentfredric@×××××.com> | ||
---|---|---|---|
To: | gentoo-dev <gentoo-dev@l.g.o> | ||
Subject: | Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage. | ||
Date: | Mon, 14 Sep 2015 05:47:49 | ||
Message-Id: | CAATnKFD5Hk7O3sFYGkPvPfWZXp9DFeBvFf07S3H=Hk7iAAD9rg@mail.gmail.com | ||
In Reply to: | [gentoo-dev] Request to add ~> atom prefix operator on Portage. by konsolebox |
1 | On 14 September 2015 at 16:35, konsolebox <konsolebox@×××××.com> wrote: |
2 | > Many times we need to match packages like this: something-1.0.2a.* |
3 | > |
4 | > But that expression is not allowed with ~ (only targets revisions) and |
5 | > neither with * (.*) is invalid. |
6 | |
7 | |
8 | What does =cat/pkg-something-1.0.2a* do? ( note, lack of . before * ) |
9 | |
10 | Why is that undesirable? |
11 | |
12 | IME, when you write ".*" you mean to write "*". |
13 | |
14 | That's what the "*" implies: version X or version X.Any |
15 | |
16 | https://devmanual.gentoo.org/general-concepts/dependencies/index.html#ranged-dependencies |
17 | |
18 | -- |
19 | Kent |
20 | |
21 | KENTNL - https://metacpan.org/author/KENTNL |