Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2019 11:58:49 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        freebsd-ports@freebsd.org
Subject:   How to handle go dependencies
Message-ID:  <d7b321e9-3258-45b1-7c65-5797908167b0@fechner.net>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--NKKQ5iGG6uk4jM6mBcTqnUPVxAGh1Ou6P
Content-Type: multipart/mixed; boundary="VBBjpPjIThs5p3QwfKFM3rEclAFdzhQ8e";
 protected-headers="v1"
From: Matthias Fechner <idefix@fechner.net>
To: freebsd-ports@freebsd.org
Message-ID: <d7b321e9-3258-45b1-7c65-5797908167b0@fechner.net>
Subject: How to handle go dependencies

--VBBjpPjIThs5p3QwfKFM3rEclAFdzhQ8e
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: de-DE

Dear all,

I just prepare the gitlab-ce upgrade to version 12.0.0.
But I have some problem with a package that uses go to compile.

The new version of devel/gitaly has changed the way the package is define=
d.
They removed now all files from the vendor/ folder and add dependencies
in a `go.mod` file.

If I now build the port it tries to fetch the files while no network
access is allowed.

What is the correct way to getting these dependencies fetched and
correctly included into the work-source in the fetch step using go?

Thanks a lot!

Gru=C3=9F
Matthias

--=20

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook



--VBBjpPjIThs5p3QwfKFM3rEclAFdzhQ8e--

--NKKQ5iGG6uk4jM6mBcTqnUPVxAGh1Ou6P
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJdDfveAAoJELaLddyf10fhriYP/RoFQI6fNFRz69Z4z4iae8Me
SgQ3ST8wlpGqsiD1wKaFqpNJO4tS7P54JGhZz74IFlwZZptwtQyiz/MiVpnTWS5C
n3pkWMsBcRh5fg6w6KFz8Ji+eaUHHWMhrzkJ5s2IbqDxPCjx0Azsyf6Nmo1WcMtF
tVI8DSSNp/o5jhJAz1TCkjNZy2u5sPeeomagcLCi2PPeynFfC2VyZxIre5eJoTRc
sMI9IRP7n8ogcjfCMrRxhwIvIah2D9XcfVtT/jrvvX/DL4e4+oYanQeHiuQ/4mQU
yPYf7mWA+qHerLskXrrb+iytp9mb9FuqVpzKGtkBn4L/7tep6WXilFDYgCJS2pVP
JotJhK8iHBbW7enXO8tqdec068DwHTq/ju7kI1727Vguh5h27R7JKj9pbJGrD4Vi
FLxBu2VQgH5pyeDmUasx3dXFOj1j+7hsZ2MD9mEh8eJvARwCUrrBjCad7/XTO9QK
TUx6nsWITEqA7iIqw9C59DR7VzUDtEmeZMvaupo31TQP3We69+hNVGRQiDgl/Hy7
WnR8/R/ybjVDIDx+oZ9k/4vsHPsu3930TMFIBk83vDq3HKHlcym8bMToKxQP/66m
0u6awBUPxyjnR4WCRgiIDRNBUpD/QzJVUTV/SxQFVbR9IUs6FIVepuB+lFf23yCF
JJALqVyEhFnZP73+k6tY
=twvc
-----END PGP SIGNATURE-----

--NKKQ5iGG6uk4jM6mBcTqnUPVxAGh1Ou6P--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7b321e9-3258-45b1-7c65-5797908167b0>