gnu-maintenance: Produce mirror:// URIs in latest-ftp-release.
authorMaxime Devos <maximedevos@telenet.be>
Thu, 1 Sep 2022 09:01:49 +0000 (11:01 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 26 Sep 2022 21:29:36 +0000 (23:29 +0200)
commitd877dc098bcf1f1b2f39ba5a6e3701eda547d004
tree09a6cd1e72caa0c3615c11c767cda91d738d7201
parentfc5c4ce4ec2ecf6b7d9e227617777d8dd10b903a
gnu-maintenance: Produce mirror:// URIs in latest-ftp-release.

Partially fixes <https://issues.guix.gnu.org/57477>.

As a test, try updating gnupg.  Before the patch, a ftp:// URL was produced,
now the mirror:// is preserved.

* guix/gnu-maintenance.scm (latest-ftp-release)[file->source]{urls,signature-urls}:
Call uri-mirror-rewrite on the URLs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
guix/gnu-maintenance.scm