Subject: Re: [bug#57732] [PATCH] gnu-maintenance: Support // URLs in latest-html-release
From: Christopher Baines <[email-masked]>
To: Maxime Devos <[email-masked]>
Cc: [email-masked]
Date: Sat, 17 Sep 2022 19:21:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Maxime Devos <[email-masked]> writes:

> This makes "./pre-inst-env guix refresh -u" download the release tarball from
> the right place -- previously, it downloaded from
>
> https://www.libreoffice.org//download.documentfoundation.org/libreoffice/src/7.4.0/libreoffice-7.4.0.3.tar.xz?idx=1
>
> whereas it should download from
>
> https://download.documentfoundation.org/libreoffice/src/7.4.0/libreoffice-7.4.0.3.tar.xz?idx=1
>
> instead.
>
> * guix/gnu-maintenance.scm (latest-html-release)[url-release]: Adjust
> computation in the case of an absolute URI-reference without a scheme.
> * tests/gnu-maintenance.scm ("latest-html-release, scheme-less URIs"):
> Test it.
> ---
>  guix/gnu-maintenance.scm  |  7 +++++++
>  tests/gnu-maintenance.scm | 29 +++++++++++++++++++++++++++++
>  2 files changed, 36 insertions(+)

Looks good to me :) Pushed to master as
c967d1153cae419e4acbe0dbed8f558d95ced0e3.

Thanks,

Chris