From: Joshua Nichols <nichoj@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] atom matching behavior
Date: Thu, 03 Aug 2006 08:33:33 -0400 [thread overview]
Message-ID: <44D1ED1D.6090208@gentoo.org> (raw)
In-Reply-To: <20060803070735.61a1e3e9@sven.genone.homeip.net>
Marius Mauch wrote:
> Repost from gentoo-portage-dev[1]:
>
> Was just brought to my attention that the =* operator doesn't work as I
> thought, as for example =foo-1.2* matches foo-1.20 as well as foo-1.2.3.
> This wouldn't be a bug problem if it could be used as a general glob
> operator like with =foo-1.2.*, but it's use is strictly limited to the
> above version (can only be used when a version component separator may
> appear), so atm there is no facility to reliably lock an atom at a
> specific version component when you have to account for multi-digit
> components.
> Now the question is if we want this glob-style behavior or not. From
> the code comments it seems to be intentional, but I'd suspect that many
> people share my original assumption and expect it to only match full
> version components (as that is the much more common use case). Doesn't
> help that the atom description in ebuild(5) doesn't specify the
> behavior for this case either,
>
> "* means match any version of the package so long as the specified
> base is matched"
>
> can be read both ways.
>
Many Java packages use =foo-1.2*, expecting to get like foo-1.2.1,
foo-1.2.3, etc. In these cases, it is actually intending to depend on a
particular slot, ie 1.2, but without slot dependencies, this is the next
best thing that can be done
--
Joshua Nichols
Gentoo/Java Project Lead
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2006-08-03 12:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-03 5:07 [gentoo-dev] atom matching behavior Marius Mauch
2006-08-03 5:44 ` Harald van Dijk
2006-08-05 5:16 ` Mike Frysinger
2006-08-03 8:05 ` Diego 'Flameeyes' Pettenò
2006-08-03 12:33 ` Joshua Nichols [this message]
2006-08-03 15:59 ` Ciaran McCreesh
2006-08-03 17:56 ` Marius Mauch
2006-08-03 20:34 ` Stephen Bennett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44D1ED1D.6090208@gentoo.org \
--to=nichoj@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox