Date: Sun, 16 Oct 2022 03:09:00 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Nuno Teixeira <eduardo@freebsd.org> Cc: Baptiste Daroussin <bapt@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 2b9b771202b2 - main - www/luakit-devel: update to 2.3.1-6 Message-ID: <wn90-wp5f-wny@FreeBSD.org> In-Reply-To: <CAFDf7UK5Bk9wXeL38-j1Q2A1vh0B_7ZaErxE2ncosMOSGs9jVA@mail.gmail.com> (Nuno Teixeira's message of "Sun, 16 Oct 2022 01:12:19 %2B0100") References: <202210121908.29CJ8aGO082553@gitrepo.freebsd.org> <20221013134520.vresa2tbdkflowdw@aniel.nours.eu> <CAFDf7UK5Bk9wXeL38-j1Q2A1vh0B_7ZaErxE2ncosMOSGs9jVA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Nuno Teixeira <eduardo@freebsd.org> writes: > 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. > > I can't think for a diferent solution for suffix -xy. > > Any hint to avoid portepoch bumping? Re-calculate version offset via "git rev-list --count 2.3.1..". When fetching a distfile in <tag>-<offset>-g<hash> format Git discards everything before -g. Try it yourself e.g., $ git archive blah-1234-g2b9b771202b2 | tar xOf - --include www/luakit-devel/Makefile | head PORTNAME= luakit DISTVERSION= 2.3.1-6 DISTVERSIONSUFFIX= -ge9c7693
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wn90-wp5f-wny>