[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/63: download: Add mirror.hydra.gnu.org as a content-addressed mirror.
From: |
Mark H. Weaver |
Subject: |
55/63: download: Add mirror.hydra.gnu.org as a content-addressed mirror. |
Date: |
Thu, 4 Aug 2016 07:44:59 +0000 (UTC) |
mhw pushed a commit to branch core-updates-2016-08-01
in repository guix.
commit 40f788b9f6184436d9cc36a4dd8e7d101cd2f0ba
Author: Ludovic Courtès <address@hidden>
Date: Sun Jul 31 18:26:29 2016 +0200
download: Add mirror.hydra.gnu.org as a content-addressed mirror.
* guix/download.scm (%content-addressed-mirrors): Add
'mirror.hydra.gnu.org'.
---
guix/download.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/guix/download.scm b/guix/download.scm
index 73c0e89..b2dcdc8 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -236,8 +236,15 @@
;; List of content-addressed mirrors. Each mirror is represented as a
;; procedure that takes a file name, an algorithm (symbol) and a hash
;; (bytevector), and returns a URL or #f.
+ ;; Note: Avoid 'https' to mitigate <http://bugs.gnu.org/22774>.
;; TODO: Add more.
'(list (lambda (file algo hash)
+ ;; Files served by 'guix publish' are accessible under a single
+ ;; hash algorithm.
+ (string-append "http://mirror.hydra.gnu.org/file/"
+ file "/" (symbol->string algo) "/"
+ (bytevector->nix-base32-string hash)))
+ (lambda (file algo hash)
;; 'tarballs.nixos.org' supports several algorithms.
(string-append "http://tarballs.nixos.org/"
(symbol->string algo) "/"
- 54/63: download: Pass the raw file name to content-addressed mirrors., (continued)
- 54/63: download: Pass the raw file name to content-addressed mirrors., Mark H. Weaver, 2016/08/04
- 51/63: gnu: zsh: Update to 5.2., Mark H. Weaver, 2016/08/04
- 38/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 04/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 27/63: gnu: r-summarizedexperiment: Update to 1.2.3., Mark H. Weaver, 2016/08/04
- 10/63: Merge remote-tracking branch 'origin/master' into core-updates, Mark H. Weaver, 2016/08/04
- 25/63: gnu: r-rtracklayer: Update to 1.32.2., Mark H. Weaver, 2016/08/04
- 34/63: gnu: r-iranges: Update to 2.6.1., Mark H. Weaver, 2016/08/04
- 33/63: gnu: r-limma: Update to 3.28.17., Mark H. Weaver, 2016/08/04
- 47/63: gnu: wine: Update to 1.9.15., Mark H. Weaver, 2016/08/04
- 55/63: download: Add mirror.hydra.gnu.org as a content-addressed mirror.,
Mark H. Weaver <=
- 59/63: gnu: unison: Add input ghostscript., Mark H. Weaver, 2016/08/04
- 41/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 39/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 37/63: gnu: dico: Patch 'idxgcide' bug., Mark H. Weaver, 2016/08/04
- 49/63: gnu: dealii: Unregister deleted patch., Mark H. Weaver, 2016/08/04
- 57/63: gnu: ecl: Use "kernel-headers" instead of "linux-headers" to designate input., Mark H. Weaver, 2016/08/04
- 56/63: tests: 'guix-environment-container.sh' works when run from a tmpfs., Mark H. Weaver, 2016/08/04
- 62/63: build: Set XDG_CACHE_HOME to avoid loading stale .go files., Mark H. Weaver, 2016/08/04
- 63/63: install: Add nvi to the image., Mark H. Weaver, 2016/08/04
- 53/63: gnu: rapicorn: Add patch to handle isnan., Mark H. Weaver, 2016/08/04