[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57732: [PATCH] gnu-maintenance: Support // URLs in latest-html-relea
From: |
Christopher Baines |
Subject: |
bug#57732: [PATCH] gnu-maintenance: Support // URLs in latest-html-release |
Date: |
Sat, 17 Sep 2022 19:21:25 +0200 |
User-agent: |
mu4e 1.8.9; emacs 28.1 |
Maxime Devos <maximedevos@telenet.be> 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
signature.asc
Description: PGP signature