From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4DA5B1387B1 for ; Tue, 22 Sep 2015 14:28:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A32E21C011; Tue, 22 Sep 2015 14:28:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F094D21C010 for ; Tue, 22 Sep 2015 14:28:48 +0000 (UTC) Received: from professor-x (S010634bdfa9ecf80.vc.shawcable.net [96.49.31.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id B55FE3407E6 for ; Tue, 22 Sep 2015 14:28:45 +0000 (UTC) Date: Tue, 22 Sep 2015 07:27:51 -0700 From: Brian Dolbec To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] man/ebuild.5: Update description of =* operator. Message-ID: <20150922072751.30cf379b.dolsen@gentoo.org> In-Reply-To: <56016377.5040301@gentoo.org> References: <22017.0.610690.841902@a1i15.kph.uni-mainz.de> <56016377.5040301@gentoo.org> Organization: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a695e6c7-6153-4a74-bd5f-c65f73ee9b99 X-Archives-Hash: 62c0d05c4cc729918f9392068c4e7813 On Tue, 22 Sep 2015 07:19:35 -0700 Zac Medico wrote: > On 09/22/2015 12:15 AM, Ulrich M=C3=BCller wrote: > > After commit d4966a381ee4577818bd972946647338046715b1 > > "match_from_list: restrict =3D* to match only on version part > > boundaries" the description of the =3D* operator in ebuild(5) was > > no longer accurate. > >=20 > > This reverts commit 2b1eceaf79ac667eecdf1ef9585592a235c8d93f. > > --- > > man/ebuild.5 | 9 +++------ > > 1 file changed, 3 insertions(+), 6 deletions(-) > >=20 > > diff --git a/man/ebuild.5 b/man/ebuild.5 > > index 6a27cc5..e60eee1 100644 > > --- a/man/ebuild.5 > > +++ b/man/ebuild.5 > > @@ -96,12 +96,9 @@ Example: > > .fi > > .TP > > .I * > > -means match any version of the package so long > > -as the specified string prefix is matched. So with a > > -version of '2*', we can match '2.1', '2.2', '2.2.1', > > -etc... and not match version '1.0', '3.0', '4.1', etc... > > -Beware that, due to the string matching nature, '20' > > -will also be matched by '2*'. The version part > > +means match any version of the package so long as the specified > > base +is matched. So with a version of '2*', we can match '2.1', > > '2.2', '2.2.1', +etc... and not match version '1.0', '3.0', '4.1', > > etc... The version part that comes before the '*' must be a valid > > version in the absence of the '*'. For example, '2' is a valid > > version and '2.' is not. Therefore, '2*' is allowed and '2.*' is > > not. > >=20 >=20 > Looks good. yes, looks good other than the flak that has already started in #gentoo-portage last night over the change... It seems zero_chaos relied on the old behaviour, and at least one other dev was upset over it. almost sounded like it was going to be a pitch-forks, torches mob was going to form ;) But, I wonder if the change had a bug side effect...causing him the grief --=20 Brian Dolbec