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 1M6TbW-0005qk-Vm for garchives@archives.gentoo.org; Tue, 19 May 2009 17:59:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06B6DE0370; Tue, 19 May 2009 17:59:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DC361E0370 for ; Tue, 19 May 2009 17:59:53 +0000 (UTC) Received: from [67.40.138.82] (crater.wildlava.net [67.40.138.82]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id EE87566456 for ; Tue, 19 May 2009 17:59:52 +0000 (UTC) Message-ID: <4A12F397.9080906@gentoo.org> Date: Tue, 19 May 2009 11:59:51 -0600 From: Joe Peterson User-Agent: Thunderbird 2.0.0.21 (X11/20090512) 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] GLEP 54 and hyphens in PV 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> In-Reply-To: <18962.58841.849848.476586@a1ihome1.kph.uni-mainz.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: bb65b3b5-f3db-49c1-a9a8-862439ba4e02 X-Archives-Hash: 33f997f176ddc1bbc8e88aedf00b7851 Ulrich Mueller wrote: > 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: > > ${PORTDIR}/app-misc/foo/foo-1a_live.ebuild > ${PORTDIR}/app-misc/foo-1a/foo-1a-live.ebuild > > 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. Underscore probably makes most sense, since it is similar to the underscore used in _rc3, etc. Of course, don't use an "_" when it's just "live" alone. I agree, especially if we consider "live" essentially part of the version (as "9999" is now), and especially since it's possible to have simply a version of "live" with no numeric portion, that it should avoid the "-". Not sure I like "."... -Joe