Re: git: 2b9b771202b2 - main - www/luakit-devel: update to 2.3.1-6

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Sun, 16 Oct 2022 12:21:09 UTC
Hi,

portepoch should be used with caution and when is no chance to avoid it,
e.g., upstream versioning changes.

That's not the case on this port that suffers from a bad version design
from the beginning:

First portepoch: 2.2.8 -> 2.2.1*-16*
Second portepoch (actual): 2.3-26 -> 2.3.1*-6*

*-<commits count>* is the number of commits

In the future will be more portepoch bumping due to '*-'*<commits count>
being interpertated as '*.'*<committs count>

IMHO, solution is to think in a better port versioning.

I will talk with maintainer to see what is his opinion.

Thanks

Mathieu Arnold <mat@freebsd.org> escreveu no dia domingo, 16/10/2022 à(s)
09:38:

> On Sun, Oct 16, 2022 at 01:12:19AM +0100, Nuno Teixeira wrote:
> > Hello,
> >
> > Yes, you are right
> > pkg version -t 2.3.1.6,1 2.3.26,1 == <
> >
> > -DISTVERSION= 2.3-26
> > +DISTVERSION= 2.3.1-6
> >
> > This will cause problems in the future and we cannot bump PORTEPOCH for
> > this reason.
>
> This is exactly what PORTEPOCH is for, so I do not understand your
> sentence.
>
> --
> Mathieu Arnold
>


-- 
Nuno Teixeira
FreeBSD Committer (ports)