From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M9bNt-0006yf-3d for garchives@archives.gentoo.org; Thu, 28 May 2009 08:54:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B75FBE0474; Thu, 28 May 2009 08:54:43 +0000 (UTC) Received: from smtp.tmcs.ch (113.245.131.213.static.inetbone.net [213.131.245.113]) by pigeon.gentoo.org (Postfix) with ESMTP id 6371BE0474 for ; Thu, 28 May 2009 08:54:43 +0000 (UTC) Received: from [89.206.68.127] (dhcp-vpn-89-206-68-127.unizh.ch [89.206.68.127]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.tmcs.ch (Postfix) with ESMTPSA id 4D0AA15F4E17 for ; Thu, 28 May 2009 10:54:42 +0200 (CEST) Subject: Re: [gentoo-dev] GLEP 54 and hyphens in PV From: Tiziano =?ISO-8859-1?Q?M=FCller?= To: gentoo-dev@lists.gentoo.org In-Reply-To: <18962.58841.849848.476586@a1ihome1.kph.uni-mainz.de> References: <7c612fc60905170920k22189731i2540514e24e60959@mail.gmail.com> <18960.18295.65849.57779@a1ihome1.kph.uni-mainz.de> <4A104BCE.7000001@gentoo.org> <4A107F05.7020001@gentoo.org> <20090517222016.3164b564@snowmobile> <4A108AC5.30309@gentoo.org> <20090517231114.733b4757@snowmobile> <18960.38284.120184.856068@a1ihome1.kph.uni-mainz.de> <20090517235854.69b2982d@snowmobile> <18960.39345.978610.837853@a1ihome1.kph.uni-mainz.de> <20090518001618.02998a81@snowmobile> <18960.40466.923843.233294@a1ihome1.kph.uni-mainz.de> <20090518003340.4a186623@snowmobile> <18960.41263.854038.675219@a1ihome1.kph.uni-mainz.de> <20090518004942.0571d4c3@snowmobile> <18960.60216.54583.466848@a1ihome1.kph.uni-mainz.de> <20090518151332.22798476@snowmobile> <18962.58841.849848.476586@a1ihome1.kph.uni-mainz.de> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-J+9ZW4spwgaeTR9/GJow" Organization: Gentoo Date: Thu, 28 May 2009 09:59:32 +0200 Message-Id: <1243497572.10450.44.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 X-Archives-Salt: 1d8437ec-a67f-4355-9369-3da37f614e52 X-Archives-Hash: 5869d5d3da65fd5935c89f0a226ea783 --=-J+9ZW4spwgaeTR9/GJow Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, den 19.05.2009, 19:01 +0200 schrieb Ulrich Mueller: > >>>>> On Mon, 18 May 2009, Ciaran McCreesh wrote: >=20 > > On Mon, 18 May 2009 06:59:36 +0200 > > Ulrich Mueller wrote: > >> AFAICS, there _is_ an ambiguity. You can have the following two > >> ebuilds in the tree, simultaneously: >=20 > >> ${PORTDIR}/app-misc/foo/foo-1a-scm.ebuild > >> ${PORTDIR}/app-misc/foo-1a/foo-1a-scm.ebuild > [Added some context back to your quotation of my posting.] >=20 > > There's no ambiguity. It means what we define it to mean. >=20 > Maybe it's possible to do that for dependencies, but VDB entries and > binary packages for above two examples would still collide. >=20 > So the conclusion still stands: >=20 > >> The conclusion is that GLEP 54 in its current form is not > >> implementable. >=20 > Hyphens within PV are a Bad Thing, and we should really think about > replacing the separator for "scm" by something else, like a period or > an underscore. For example, the following two would be unique: >=20 > ${PORTDIR}/app-misc/foo/foo-1a_live.ebuild > ${PORTDIR}/app-misc/foo-1a/foo-1a-live.ebuild you probably mean: ${PORTDIR}/app-misc/foo-1a/foo-1a.live.ebuild but how would their vdb or binpkg names be unique? vdb for example: app-misc/foo-1a_live for app-misc/foo app-misc/foo-1a_live for app-misc/foo-1a am I missing something? >=20 > With our current versioning scheme the rule is very simple: ${P} is > split into ${PN} and ${PV} at the last hyphen. This can be done in a > straight forward way by regexp matching, and I would really hate to > lose this nice property. I don't understand why this property is important. Can you please explain? --=20 Tiziano M=C3=BCller Gentoo Linux Developer, Council Member Areas of responsibility: Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor E-Mail : dev-zero@gentoo.org GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30 --=-J+9ZW4spwgaeTR9/GJow Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAkoeRGQACgkQGwVqY66cHjAOBwCfWzrT746Moul+GKGLXnlH1eSM GhgAnA5VVIVBkQtadq78Btf/yqg094tx =ceft -----END PGP SIGNATURE----- --=-J+9ZW4spwgaeTR9/GJow--