Re: git: bb8dbe1580ae - main - sysutils/lnav: Fix distinfo

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Wed, 17 Nov 2021 04:28:59 UTC
From: Alexey Dokuchaev <danfe@freebsd.org>
Subject: Re: git: bb8dbe1580ae - main - sysutils/lnav: Fix distinfo
Date: Wed, 17 Nov 2021 03:58:30 +0000

> On Wed, Nov 17, 2021 at 12:44:52PM +0900, Yasuhiro Kimura wrote:
>> ...
>> PORTVERSION is the version used for the FreeBSD package. It will be
>> automatically derived from DISTVERSION to be compatible with
>> FreeBSD's package versioning scheme.
> 
> To elaborate: right, so you set DISTVERSION when it's incompatible
> with FreeBSD's package versioning scheme.  Most of the time it is
> compatible, so PORTVERSION should be used instead.  I don't know
> why this passage had been added to the PHB, I've asked a few times
> but never got any meaningful answer.  It looks totally backwards
> to me, and it causes lots of needless churn on the ports repo. :(
> 
> ./danfe

OK, I understand that you are against to what is written and that you
think PORTREVION should be used unless vendor's versioning scheme is
imcompatible with that of ours. Whatever you think of it, however,
currently it is written in PHB that DISTVERSION should be used.  I
have no preference about it. I just keep what is written.  So I'm just
confused to be complained about it to me.

---
Yasuhiro Kimura