From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 970CA1396D0 for ; Fri, 8 Sep 2017 12:48:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35C4A1FC20E; Fri, 8 Sep 2017 12:48:36 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B521A1FC20C for ; Fri, 8 Sep 2017 12:48:35 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dqIhk-0001oY-Uf for gentoo-dev@lists.gentoo.org; Fri, 08 Sep 2017 14:48:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Martin Vaeth Subject: [gentoo-dev] Re: [PATCH] eapi7-ver.eclass: 'Early adopter' version of EAPI 7 version manip Date: Fri, 8 Sep 2017 12:48:07 +0000 (UTC) Message-ID: References: <20170908111923.8809-1-mgorny@gentoo.org> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: slrn/pre1.0.0-26 (Linux) X-Archives-Salt: 110746fd-aafc-4ad0-bf27-ffe2e9f2cb1d X-Archives-Hash: 0c138872b545abec04d8e46b884e1a82 Michał Górny wrote: > +# 1.2b-alpha4 -> 1 . 2 '' b - alpha '' 4 Is this only to explain the syntax or are there plans to extend the allowed versions for pms? There is a reason why pms currently does not allow "-" as separators within versions (with the exception of -r): With this general syntax, you would have a hard time to split into name and version for e.g. media-fonts/font-bitstream-75dpi-1.0.3 (Currently the version starts at the latest /-[0-9]/ match.) Also the ordering needs a discussion when version strings are allowed which are not covered by PMS. Note that e.g. 02 > 1 while 1.02 < 1.1 Is it still "correct" to have 1-02 < 1-1?