From owner-svn-ports-all@freebsd.org Wed May 9 04:58:36 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2C95FA8AB6; Wed, 9 May 2018 04:58:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (unknown [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D6D274621; Wed, 9 May 2018 04:58:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 15F0526AEB; Wed, 9 May 2018 04:58:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id EE8F46954B; Wed, 9 May 2018 06:58:34 +0200 (CEST) Date: Wed, 9 May 2018 06:58:34 +0200 From: Baptiste Daroussin To: Yuri Cc: Mathieu Arnold , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r469351 - head/textproc/dikt Message-ID: <20180509045834.getnkbp4zfl5zaky@ivaldir.net> References: <201805080443.w484hYJ7058695@repo.freebsd.org> <20180508130528.qcjn2qwkeuwpxno2@atuin.in.mat.cc> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oybuesoehqubjtyt" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 04:58:36 -0000 --oybuesoehqubjtyt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 08, 2018 at 08:21:47AM -0700, Yuri wrote: > On 05/08/18 06:05, Mathieu Arnold wrote: > > Using DISTVERSION here is just plain wrong. Please switch to PORTVERSIO= N. >=20 >=20 > If {digit}{letter}{digit} and semantic version formats are considered to = be > equally valid, and DISTVERSION should be used by default, how come it is > wrong to use it here? There is something wrong with it being wrong. >=20 The recommandation on the handbook, ask to use DISTVERSION if there is no i= ssues with PORTVERSION. You have been explained already here why you should use PORTVERSION in this case. on DISTVERSION there is some post processing to c= reate PORTVERSION if it doesn't exists. and it finds the s considers it as "snaps= hot" and so modify it. Run: pkg version -t 2l3 2s1 and then pkg version 2l3 2.s1 to check yourself 2s1 as a DISTVERSION becomes 2.s1 which is the issue. It has been explained= to you already before. Btw the version scheme supported by pkg predates the semantic version forma= ts. while fully supporting it. (It was from the original pkg_add tools in 1993). Bapt --oybuesoehqubjtyt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlryf/YACgkQY4mL3PG3 PloOvQ/9FcCZTcPaPnJBZZearu7mapC9uF7mTlTKZnh6WycSVUz5bmtM4BUcykpA LGld/dFgLdh+NO5IXOIqfobpoB8slrSS8gzzsTnnfuSwW2bttNyh25/VPzTES99t 4xDrz5Qok5hBPU3XWkMfsmaiP4Y5ksNbMeGw5zTDGEeICIwVTMLfG5rOKG0kJe0f p7JUFJsRv9BFXZjnwG4rnRjZA4cCli1o4VMv5GS6PhiKmXtnkAca0JPGnX0OvUul 9sWOBIyarMl4rKA/mZqt/JHPvoSX4PuDrbzcH8HNmgIQ72ThL27u1tYI9f49MRuB hggP7z06P9ER0XXDD8chxZDUPj5bYRgv3lGMIWIsf4EV0B5ndiWi1Lfcp4m0hLtf E9omGeMmLtflYLILZZpONXOB6bdVp3wNV+/E33hyDg9+jL9iUrKmfZ3Mz5GjymWF //A6y5eT+y8deqVsFsU89ZKTE6hYZ/oYqoA1MDoKf/X3pw8GSYdyLgr07w15x0fN OfsNebpaT9OHQFyKnRIGnpp5UpUBNKJ5NhgTuWLsGT8M+fzConfb3Eh+TCulq2Ij KVch30FspatMnon7lbU9kk3ijdETuRQ+XcjBUNOu/WXEkJ6+8hvIRI/3sVCc4D+/ sTCxEqMvxelXtTOCeRMnKxVddyLUoraAHUhRV4g1M6s0VOJ2Zz0= =PQ6g -----END PGP SIGNATURE----- --oybuesoehqubjtyt--