From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G8cQr-0004gM-ON for garchives@archives.gentoo.org; Thu, 03 Aug 2006 12:36:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k73CZMw1001098; Thu, 3 Aug 2006 12:35:22 GMT Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k73CXX0h022411 for ; Thu, 3 Aug 2006 12:33:33 GMT Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 03 Aug 2006 08:37:20 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id LZM84659; Thu, 3 Aug 2006 08:33:30 -0400 (EDT) Received: from 146-115-26-214.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com (HELO [192.168.1.9]) ([146.115.26.214]) by smtp01.lnh.mail.rcn.net with ESMTP; 03 Aug 2006 08:33:30 -0400 X-IronPort-AV: i="4.07,208,1151899200"; d="scan'208"; a="249075227:sNHT28729376" Message-ID: <44D1ED1D.6090208@gentoo.org> Date: Thu, 03 Aug 2006 08:33:33 -0400 From: Joshua Nichols User-Agent: Thunderbird 1.5.0.5 (X11/20060730) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] atom matching behavior References: <20060803070735.61a1e3e9@sven.genone.homeip.net> In-Reply-To: <20060803070735.61a1e3e9@sven.genone.homeip.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/50, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090207.44D1ECA1.0049,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.4/2006-05-04 X-Archives-Salt: ea9f3c12-1007-4135-8dc6-f5c31a609f58 X-Archives-Hash: e74e2ef1be5d9a6a9ee1bb54e6b9d1d5 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