gnu-maintenance: Produce mirror:// URIs in latest-html-release.
authorMaxime Devos <maximedevos@telenet.be>
Thu, 1 Sep 2022 09:01:50 +0000 (11:01 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 26 Sep 2022 21:29:36 +0000 (23:29 +0200)
commit11ec14ff0ede22fa5e402baf46938b17513d21e6
tree180a4893e07ffa4aa2cc1f786a27cb8e42656921
parentd877dc098bcf1f1b2f39ba5a6e3701eda547d004
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