Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 10:18:13 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Moin Rahman <bofh@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   How to get a specific GO_MODULE tag (MODVERSION)
Message-ID:  <CAFDf7UK-wWngsh9Rax4FULknYj_AMiB%2BGhUEKCxSzH=DjdA_dA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000003e252b0601ed25f4
Content-Type: text/plain; charset="UTF-8"

Hello,

I'm trying to get access to a go.mod no tagged that contains fixes that I
need to try.

security/gopass
https://github.com/gopasspw/gopass
and the module that I want to get is from commit
https://github.com/gopasspw/gopass/commit/8c666a93d844015cca992be0ab0c39992bb096ed

I've see some examples of ports doing this like devel/lab:

USES=           go:modules
MODVERSION=     0.25.2-0.20230225220034-98c3f01c08e1
GO_MODULE=      github.com/zaquestion/lab@v${MODVERSION}

My question is: how do I get vX.0.0-yyyymmddhhmmss-abcdefxyz,
especially yyyymmddhhmmss
that it is recomended not be created by hand.

in https://jfrog.com/blog/go-big-with-pseudo-versions-and-gocenter/

Thanks!
-- 
Nuno Teixeira
FreeBSD Committer (ports)

--0000000000003e252b0601ed25f4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I&#39;m trying to get=
 access to a go.mod no tagged that contains fixes that I need to try.</div>=
<div><br></div><div>security/gopass</div><div><a href=3D"https://github.com=
/gopasspw/gopass">https://github.com/gopasspw/gopass</a></div><div>and the =
module that I want to get is from commit <a href=3D"https://github.com/gopa=
sspw/gopass/commit/8c666a93d844015cca992be0ab0c39992bb096ed">https://github=
.com/gopasspw/gopass/commit/8c666a93d844015cca992be0ab0c39992bb096ed</a></d=
iv><div><br></div><div>I&#39;ve see some examples of ports doing this like =
devel/lab:</div><div><br></div><div>USES=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 go:modules<br>MODVERSION=3D =C2=A0 =C2=A0 0.25.2-0.20230225220034-98c3f=
01c08e1<br>GO_MODULE=3D =C2=A0 =C2=A0 =C2=A0<a href=3D"http://github.com/za=
question/lab@v${MODVERSION}">github.com/zaquestion/lab@v${MODVERSION}</a></=
div><div><br></div><div>My question is: how do I get <span style=3D"font-we=
ight:400">vX.0.0-yyyymmddhhmmss-abcdefxyz, especially </span><span style=3D=
"font-weight:400">yyyymmddhhmmss that it is recomended not be created by ha=
nd.</span></div><div><span style=3D"font-weight:400"><br></span></div><div>=
<span style=3D"font-weight:400">in </span><a href=3D"https://jfrog.com/blog=
/go-big-with-pseudo-versions-and-gocenter/">https://jfrog.com/blog/go-big-w=
ith-pseudo-versions-and-gocenter/</a></div><div><br></div><div>Thanks!<br><=
/div><div><span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"=
ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=
=3D"ltr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Co=
mmitter (ports)</span></div></div></div></div>

--0000000000003e252b0601ed25f4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UK-wWngsh9Rax4FULknYj_AMiB%2BGhUEKCxSzH=DjdA_dA>