Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2019 22:21:44 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        Tobias Kortkamp <tobik@freebsd.org>
Cc:        Adam Weinberger <adamw@adamw.org>, Bernhard Froehlich <decke@bluelife.at>, FreeBSD Ports <freebsd-ports@freebsd.org>, "Danilo G. Baio" <dbaio@freebsd.org>
Subject:   Re: How to handle go dependencies
Message-ID:  <d033ae4e-0d9c-183e-bd59-58117dde9460@fechner.net>
In-Reply-To: <20190623095737.GA89814@urd.tobik.me>
References:  <5d0e8e03.1c69fb81.5e249.9640@mx.google.com> <CAP7rwchtYTf5XPoTgk6B2drdPjzP%2B5opq-sN=kGsTJei6dT_Dg@mail.gmail.com> <20190622205205.GB40599@xombo.localdomain> <4de2a97c-8c41-74e4-cda1-4fdec9554e8f@fechner.net> <20190623095737.GA89814@urd.tobik.me>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--n4ulu1UZMmwBsIcN7I3UfdoCDf6qv3rQW
Content-Type: multipart/mixed; boundary="eYjNDowPG1YeXWGPEO0HT5BN8IRwkW5zh";
 protected-headers="v1"
From: Matthias Fechner <idefix@fechner.net>
To: Tobias Kortkamp <tobik@freebsd.org>
Cc: Adam Weinberger <adamw@adamw.org>, Bernhard Froehlich
 <decke@bluelife.at>, FreeBSD Ports <freebsd-ports@freebsd.org>,
 "Danilo G. Baio" <dbaio@freebsd.org>
Message-ID: <d033ae4e-0d9c-183e-bd59-58117dde9460@fechner.net>
Subject: Re: How to handle go dependencies
References: <5d0e8e03.1c69fb81.5e249.9640@mx.google.com>
 <CAP7rwchtYTf5XPoTgk6B2drdPjzP+5opq-sN=kGsTJei6dT_Dg@mail.gmail.com>
 <20190622205205.GB40599@xombo.localdomain>
 <4de2a97c-8c41-74e4-cda1-4fdec9554e8f@fechner.net>
 <20190623095737.GA89814@urd.tobik.me>
In-Reply-To: <20190623095737.GA89814@urd.tobik.me>

--eYjNDowPG1YeXWGPEO0HT5BN8IRwkW5zh
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Content-Language: de-DE

Am 23.06.2019 um 11:57 schrieb Tobias Kortkamp:
> Please do not use it.  It is broken in many ways.  Use Dimtri's
> devel/modules2tuple instead.  Change to WRKSRC of your port and run
> `go mod vendor` then `modules2tuple vendor/modules.txt` and it will
> spit out an appropriate GH_TUPLE etc.

thanks that looks fine now. I added also a target `gomod-deps` to get
that more easily generated.
It currently seems to only support GH and not GL, this could maybe
improved later.

> Probably you need
> USE_GITHUB=3D	nodefault
>
> and it should work.

seems ok, I have now the following:
https://gitlab.fechner.net/mfechner/Gitlab/commit/e83876fb9de9c79c39ba858=
01ebb242a08f5412c

But now I get the error message:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: check-sanity=A0=A0 >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The
https://gitlab.com/gitlab-org/gitaly-proto/repository/f4db5d05d437abe1154=
d7308ca044d3577b5ccba/archive.tar.gz?dummy=3D/:gitaly-proto
MASTER_SITES line has
a group with invalid characters, only use [a-zA-Z0-9_]
*** Error code 1

This seems to be a bug in the ports?
Why is a `-` an invalid character, it exists in:
https://gitlab.com/gitlab-org/gitaly/

Is there a way out?

Gru=DF
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



--eYjNDowPG1YeXWGPEO0HT5BN8IRwkW5zh--

--n4ulu1UZMmwBsIcN7I3UfdoCDf6qv3rQW
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

iQIcBAEBCAAGBQJdD99bAAoJELaLddyf10fhjJIQAI5d9b6HccHHL5PZiMy+fxj3
zIr/Sje5j7N6jzlyuzpT0u6/DtD8OLU6huPjXnkBwgYtb2F5Xi++lgfrgSpXeCfX
/Q81yBvHKdH7g9Q9u4d7WFkEvCPqotbYv5pJomy/T2x39jzrFiEF8EhEp9O0TMmp
/BI6fBGMPn/MlU4FLN9febcB33delB3ZRw//qVEgN7fm4WDo/Iw1knZGjifCoIeD
SPUoKemqTqMnaGIL22LsvoJoUq38gkZbRU98XLVUHrAyeFVVlDl2J3bO6TLM17XW
iRN22nGF8qaQF8hf3tqVXMUmu/3uFCAlWJ67Qk9c+C3cG9UYpBV9EWehihPUxCHS
CXWktIfppi8/SaZj8MTyB/m5Wab6fKBZfvzkQPlHQKgBy1lXB7/hKqbTFZM+cHUH
QaATeCaYsVEE2MzBrs/0tKty4pF87BP2SKYz4yzcsQY5hm94nnob4vQcL0g2ETrB
bw2QYSb9q1eN7BLr3F0z89dmDgf3KWxmY+sJvVOf2te84/D84NGmqlqZRzxJoTAo
o7W5sUZyH6/4PVEoG8iLudvFtZS8WwdsO0rXqn9STFseG/im6xkTcWK509END1BB
Kd+1kivbJZtCkb1TrEiddHitY/3eMIjxOTqXB8XTikObcdslFuTzPsjzrQMVd2kR
vLZNsmP7ArtoCeFpqYid
=labY
-----END PGP SIGNATURE-----

--n4ulu1UZMmwBsIcN7I3UfdoCDf6qv3rQW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d033ae4e-0d9c-183e-bd59-58117dde9460>