From nobody Wed Aug 02 15:17:15 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RGFw35CDJz4qfwW for ; Wed, 2 Aug 2023 15:17:24 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RGFvl4b8Qz42Nl; Wed, 2 Aug 2023 15:17:23 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690989443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nAYIK27nulK/fpUD0+3o37f8codMDfRUk7soMcCGZik=; b=VicGuNZ3w3DeVITUiGrqL2qHVmGlf5vIdn/T/VybgPN6585m0NYrpzzpTGsd6QMMSnV80g Y9JWqxgek6ZpdklhgQ2nrwU8nd/ggxc0QC4nHrlM6RnSZPViH47/vifc4bxSLMLPyNQIx2 l70fQOgM0QtV/w+hFbOFvWNaDOzYuYkBF3IvtkpyO4+sAYugOMsszvD0n+ljr8h9/lLNyW s4m+d38KycSl+K7VTZNVcIY04tAWnRiOQnOwO2fcHZwqM37jtOaKPWxE7was5zolHb0WT7 pTy7GAu7YFgoEj1W+mzew1a1aIh7V+iz/hm2t6ZtHxbRXC0ZcgyzLapaNmz+dw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690989443; a=rsa-sha256; cv=none; b=enkEdCW++WK5METGEG/XlvJ7AMLhX/f6EyyTccCimxu2XalX+n+cMS7F0ztWkpqJX+o339 vFqZl9x/fVcWEDK6AEW+vn/JgCmKmfSOAF4SjnaKqA83nuWP8JQ/HcKMyYFxwww+8n3W2V mKBZQBghjegM7jsan/bnvFrppNjkAL4W2GfLdhnZhA7h1QyRCUs1I2CvKe92sqffkEyZmf 6kcYQsXA4P1lKtRGpc6mDPhPffylIaUOvUFQx2GH7EEwYVC03TTRdAfsOqX8uRFO8qSgfw Waj13+53uK8QKmbo6JNIe3bLRgdVmtM8DJ86NjWFaAyvGI9Vs1Ybp/oi1XuReQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690989443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nAYIK27nulK/fpUD0+3o37f8codMDfRUk7soMcCGZik=; b=bawaKi6TAwtrt5b2mn9Hyd8IQhL7zbIg2sSFRxzQy+Sy33FrbMCN7vSW+Lhoeg9X/bXXu0 BIeL5k/zySxeYW6SUHmHH7uEefunML92ROGdQFcecrTrRTsqalystP9JeqMqbmvhXjWRiC kFP+dcRf2M+ueWPcGNMwTeC6pA+ApRY12LmxESOkRkplmbKB+0dvJDU+j1R5fSoEaSG00x TGsnf/Bi4c29J519laXXlr/1MoKvObdtZ5vA+908xO8Qx358PgihLd67F3ABTUq2YqHnBC EUzZrRsGbp/VW1mimtT3Fx2n/tj5tBo51K/fzf/9R13lPUWLXZCkXwPSr43sbQ== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mx.bofh.network", Issuer "R3" (verified OK)) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RGFvk4JtwzHjt; Wed, 2 Aug 2023 15:17:21 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple (gw.office.cyso.net [95.97.78.194]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id a3a61fc9 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Wed, 2 Aug 2023 15:17:16 +0000 (UTC) From: Moin Rahman Message-Id: <73C236CB-747A-40B0-9DCA-9E635D1CA823@freebsd.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_0F7D1151-8DB5-4A93-A828-D3450FE54F41" List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: How to get a specific GO_MODULE tag (MODVERSION) Date: Wed, 2 Aug 2023 17:17:15 +0200 In-Reply-To: Cc: FreeBSD Mailing List To: Nuno Teixeira References: X-Mailer: Apple Mail (2.3696.120.41.1.1) --Apple-Mail=_0F7D1151-8DB5-4A93-A828-D3450FE54F41 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Aug 2, 2023, at 11:18 AM, Nuno Teixeira = wrote: >=20 > Hello, >=20 > I'm trying to get access to a go.mod no tagged that contains fixes = that I need to try. >=20 > security/gopass > https://github.com/gopasspw/gopass = > and the module that I want to get is from commit = https://github.com/gopasspw/gopass/commit/ = >=20 > I've see some examples of ports doing this like devel/lab: >=20 > USES=3D go:modules > MODVERSION=3D 0.25.2-0.20230225220034-98c3f01c08e1 > GO_MODULE=3D github.com/zaquestion/lab@v${MODVERSION} = >=20 > My question is: how do I get vX.0.0-yyyymmddhhmmss-abcdefxyz, = especially yyyymmddhhmmss that it is recomended not be created by hand. vX.0.0 =3D The next version that might be upcoming where I will consider = it is 1.15.7 yyyymmddhhmmss =3D The commit date and time for this case you can try = 20230801000000 abcdefxyz =3D Commit hash which is = 8c666a93d844015cca992be0ab0c39992bb096ed = But above all different go applications has different methods so try = which one actually works. I believe I extracted the exact TS from the = git log. > in https://jfrog.com/blog/go-big-with-pseudo-versions-and-gocenter/ = >=20 > Thanks! > --=20 > Nuno Teixeira > FreeBSD Committer (ports) --Apple-Mail=_0F7D1151-8DB5-4A93-A828-D3450FE54F41 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Aug 2, 2023, at 11:18 AM, Nuno Teixeira <eduardo@freebsd.org>= wrote:

Hello,

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

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

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

USES=3D         =   go:modules
MODVERSION=3D     = 0.25.2-0.20230225220034-98c3f01c08e1
GO_MODULE=3D   =    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.

vX.0.0 =3D The next version that might be upcoming = where I will consider it is 1.15.7
yyyymmddhhmmss =3D The = commit date and time for this case you can try = 20230801000000
abcdefxyz =3D Commit hash which is 8c666a93d844015cca992be0ab0c39992bb096ed

But above all different go applications has = different methods so try which one actually works. I believe I extracted = the exact TS from the git log.



Thanks!
--
Nuno Teixeira
FreeBSD Committer = (ports)

= --Apple-Mail=_0F7D1151-8DB5-4A93-A828-D3450FE54F41--