[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/18: gnu-maintenance: Produce mirror:// URIs in latest-html-release.
From: |
guix-commits |
Subject: |
05/18: gnu-maintenance: Produce mirror:// URIs in latest-html-release. |
Date: |
Mon, 26 Sep 2022 17:32:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 11ec14ff0ede22fa5e402baf46938b17513d21e6
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Sep 1 11:01:50 2022 +0200
gnu-maintenance: Produce mirror:// URIs in latest-html-release.
Partially fixes <https://issues.guix.gnu.org/57477>.
I'm not aware of a package using both latest-html-release and mirrors, so it
has not been completely tested. However, updating "yt-dlp" appears to work
(except for git-fetch not being supported yet). The expression for the
signature-urls field had to be tweaked to not call uri-mirror-rewrite on
#false.
* guix/gnu-maintenance.scm
(latest-html-release)[url->research]{urls,signature-urls}:
Call uri-mirror-rewrite on the URLs.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
guix/gnu-maintenance.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index b6450994e6..604522e913 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -538,9 +538,12 @@ are unavailable."
(upstream-source
(package package)
(version version)
- (urls (list url))
+ ;; uri-mirror-rewrite: Don't turn nice mirror:// URIs into
ftp://
+ ;; URLs during "guix refresh -u".
+ (urls (list (uri-mirror-rewrite url)))
(signature-urls
- (list ((or file->signature file->signature/guess) url))))))))
+ (and=> ((or file->signature file->signature/guess) url)
+ (lambda (url) (list (uri-mirror-rewrite url))))))))))
(define candidates
(filter-map url->release links))
- branch master updated (28a50eeac7 -> f15a141cf3), guix-commits, 2022/09/26
- 02/18: etc: Add tempel snippet move., guix-commits, 2022/09/26
- 01/18: machine: ssh: Parameterize '%current-system' early on., guix-commits, 2022/09/26
- 06/18: download: Switch savannah mirrors to HTTPS URLs., guix-commits, 2022/09/26
- 09/18: gnu-maintenance: Simplify latest-kernel.org-release., guix-commits, 2022/09/26
- 13/18: gnu: Add texlive-babel-polish., guix-commits, 2022/09/26
- 14/18: gnu: gnome-boxes: Patch 'qemu-img' file name., guix-commits, 2022/09/26
- 12/18: gnu: Add ec., guix-commits, 2022/09/26
- 05/18: gnu-maintenance: Produce mirror:// URIs in latest-html-release.,
guix-commits <=
- 10/18: gnu-maintenance: Remove unused procedures., guix-commits, 2022/09/26
- 11/18: gnu-maintenance: Test latest-html-release., guix-commits, 2022/09/26
- 15/18: debug-link: Clarify what CRC is., guix-commits, 2022/09/26
- 16/18: services: nginx: Don't emit empty fields, guix-commits, 2022/09/26
- 17/18: gnu: busybox: Fix cross-compilation., guix-commits, 2022/09/26
- 18/18: file-systems: Add cgroup2 to %pseudo-file-system-types., guix-commits, 2022/09/26
- 04/18: gnu-maintenance: Produce mirror:// URIs in latest-ftp-release., guix-commits, 2022/09/26
- 07/18: gnu-maintenance: Simplify latest-savannah-release., guix-commits, 2022/09/26
- 08/18: download: Add a kernel.org mirror., guix-commits, 2022/09/26
- 03/18: lint: Extract logic of 'check-mirror-url'., guix-commits, 2022/09/26