Re: git: 2b9b771202b2 - main - www/luakit-devel: update to 2.3.1-6
Date: Sun, 16 Oct 2022 01:39:37 UTC
The main problem here is not fetching and yes DISTVERSIONSUFFIX=-g<tag> acts like GH_TAGNAME=<tag>. Problem is that 2.3-26 transforms to 2.3.26 and 2.3.1-6 into 2.3.1.6 pkg version -t 2.3-26 2.3.1-6 = > pkg version -t 2.3.26 2.3.1.6 = > So the only solution is bump portepoch? Thanks Jan Beich <jbeich@freebsd.org> escreveu no dia domingo, 16/10/2022 à(s) 02:09: > 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 > -- Nuno Teixeira FreeBSD Committer (ports)