Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2018 06:58:34 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Yuri <yuri@freebsd.org>
Cc:        Mathieu Arnold <mat@freebsd.org>, 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>
In-Reply-To: <c3b7525f-6c6b-1df3-d439-affc8d7692e7@freebsd.org>
References:  <201805080443.w484hYJ7058695@repo.freebsd.org> <20180508130528.qcjn2qwkeuwpxno2@atuin.in.mat.cc> <c3b7525f-6c6b-1df3-d439-affc8d7692e7@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180509045834.getnkbp4zfl5zaky>