From: Kent Fredric <kentnl@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: go 1.13 and go modules
Date: Tue, 10 Sep 2019 13:15:04 +1200 [thread overview]
Message-ID: <20190910131504.24f2ab02@katipo2.lan> (raw)
In-Reply-To: <20190909214616.GA32528@whubbs1.dev.av1.gaikai.org>
[-- Attachment #1: Type: text/plain, Size: 627 bytes --]
On Mon, 9 Sep 2019 16:46:16 -0500
William Hubbs <williamh@gentoo.org> wrote:
> will list the dependencies of a module, but that doesn't look like it
> can be translated into src_uri format.
If you use the mirror as mentioned in https://blog.golang.org/module-mirror-launch
Then you should be able to do it in a straight-forward way.
You could even encode the dependencies in a bash array like:
GO_MODULES=(
Foo@v0.2.3
)
Which would be expanded by the ebuild during "use go" or whatever, to
https://proxy.golang.org/${PN}/foo/@v/v0.2.3.zip -> ${PN}-foo-v0.2.3.zip
Or something like that.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2019-09-10 1:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-09 17:34 [gentoo-dev] rfc: go 1.13 and go modules William Hubbs
2019-09-09 18:19 ` Zac Medico
2019-09-09 18:41 ` William Hubbs
2019-09-09 19:00 ` Michał Górny
2019-09-09 22:10 ` William Hubbs
2019-09-09 22:25 ` Alec Warner
2019-09-09 18:54 ` Michael Orlitzky
2019-09-09 19:04 ` William Hubbs
2019-09-09 19:00 ` Ulrich Mueller
2019-09-09 20:35 ` Kent Fredric
2019-09-09 21:46 ` William Hubbs
2019-09-09 22:57 ` Georgy Yakovlev
2019-09-09 23:21 ` William Hubbs
2019-09-10 18:31 ` William Hubbs
2019-09-10 18:58 ` Kent Fredric
2019-09-10 1:15 ` Kent Fredric [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190910131504.24f2ab02@katipo2.lan \
--to=kentnl@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox