Gentoo Archives: gentoo-portage-dev

From: Drake Wyrm <wyrm@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: Atom matching behavior
Date: Tue, 01 Aug 2006 03:58:37
Message-Id: 20060801035744.GC13745@phaenix.haell.com
In Reply to: Re: [gentoo-portage-dev] Atom matching behavior by Mike Frysinger
1 Mike Frysinger <vapier@g.o> wrote:
2 > On Monday 31 July 2006 21:37, Drake Wyrm wrote:
3 > > Mike Frysinger <vapier@g.o> wrote:
4 > > > short term we're gaining functionality: simply add .*
5 > >
6 > > Just making sure that I understand you... Given the original example
7 > > atom of =foo-1.2*, which currently matches "foo-1.2", and his objection
8 > > that =foo-1.2.* does _not_ match "foo-1.2", you're suggesting that the
9 > > matching engine be modified such that =foo-1.2.* _will_ match "foo-1.2".
10 > > Does that sound about right?
11 >
12 > you're assuming =foo-1.* even works ... it doesnt
13 >
14 > so no one is using =foo-1.* now
15
16 I made no such assumption, although I can see how one might read that
17 into what I wrote. I was just trying to clarify in my own mind what you
18 were trying to convey.
19
20 The idea of expanding the =<base>* syntax to allow =<base>.* seems like
21 a reasonable response. As you pointed out, no one is using it, so adding
22 it won't break anything.
23
24 The question I'm trying to ask is this: =foo-1.2.* should obviously
25 match "foo-1.2.3", but should it also match on "foo-1.2"? It seems more
26 _useful_ that the 1.2 version would also match, despite not having the
27 .3 subversion, but perhaps that is not perfectly intuitive from the
28 syntax.
29
30 Your thoughts?
31
32 > > > if we want to go long term and cut #*, then we can chat on
33 > > > gentoo-dev
34 > >
35 > > Is that from a development version, or have I missed something? I
36 > > can't seem to find atoms with the hash prefix anywhere.
37 >
38 > replace the # with a number
39
40 Ah, right. Of course. Thanks.
41
42 --
43 mount /dev/wyrm /mnt/bed ; sleep 28800

Replies

Subject Author
Re: [gentoo-portage-dev] Re: Atom matching behavior Mike Frysinger <vapier@g.o>