From: Leo Famulari <leo@famulari.name>
To: "Jakub Kądziołka" <kuba@kadziolka.net>
Cc: 39317@debbugs.gnu.org
Subject: [bug#39317] [PATCH v2] gnu: Add go 1.13.7.
Date: Fri, 7 Feb 2020 18:51:11 -0500 [thread overview]
Message-ID: <20200207235111.GC12194@jasmine.lan> (raw)
In-Reply-To: <20200130151948.iyvfykj72lxfylqc@zdrowyportier.kadziolka.net>
On Thu, Jan 30, 2020 at 04:19:48PM +0100, Jakub Kądziołka wrote:
> * gnu/packages/golang.scm (go-source): Factor out the source fields of
> all the go versions into a new helper function.
> (go-1.4, go-1.12)[source]: Use go-source.
> (go-1.13): New variable.
> +(define (go-source version hash)
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://storage.googleapis.com/golang/go"
> + version ".src.tar.gz"))
> + (sha256 (base32 hash))))
There is always a trade-off between readability and time spent writing
code with this kind of helper function. Since there are only 3 Go
compiler packages, I'm not convinced it's necessary here.
We should switch to building the 1.4 bootstrap Go from Git — they make
changes in Git but don't always release a tarball. Then there would only
be two "current" Go packages.
next prev parent reply other threads:[~2020-02-07 23:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-27 21:46 [bug#39317] [PATCH] gnu: go: Update to 1.13.6 Jakub Kądziołka
2020-01-30 15:19 ` [bug#39317] [PATCH v2] gnu: Add go 1.13.7 Jakub Kądziołka
2020-02-07 23:51 ` Leo Famulari [this message]
2020-02-07 23:44 ` bug#39317: [PATCH] gnu: go: Update to 1.13.6 Leo Famulari
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200207235111.GC12194@jasmine.lan \
--to=leo@famulari.name \
--cc=39317@debbugs.gnu.org \
--cc=kuba@kadziolka.net \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).