summary refs log tree commit diff
path: root/tests/go.scm
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2022-09-11 16:23:37 +0200
committerChristopher Baines <mail@cbaines.net>2022-09-17 19:09:45 +0200
commitc967d1153cae419e4acbe0dbed8f558d95ced0e3 (patch)
tree6fcb5746d4352226e0695aa8718c141a433341c8 /tests/go.scm
parentc00e1c87f219ab9947204af53afff6ccf812fa91 (diff)
downloadguix-c967d1153cae419e4acbe0dbed8f558d95ced0e3.tar.gz
gnu-maintenance: Support // URLs in latest-html-release.
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.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'tests/go.scm')
0 files changed, 0 insertions, 0 deletions