diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-11-22 16:01:25 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-12-01 20:14:14 +0100 |
commit | 2c5f6787fd50553364922766af8805aff71105e3 (patch) | |
tree | d95740cbdd0303c3c8139894d82f0673b63d8397 /tests | |
parent | 8ee03e30bd4593cbf157ff7e9e2856e17d74c24d (diff) | |
download | guix-2c5f6787fd50553364922766af8805aff71105e3.tar.gz guix-2c5f6787fd50553364922766af8805aff71105e3.zip |
gnu-maintenance: ‘import-html-release’ doesn’t abort upon HTTP 404.
Previously, updaters using ‘import-html-release’ would throw to 'quit
when the HTML page isn’t found, aborting the whole process:
$ guix refresh coreutils libchop
guix refresh: error: https://de.freedif.org/savannah//libchop/: HTTP download failed: 404 ("Not Found")
* guix/gnu-maintenance.scm (url->links): Guard against ‘http-get-error?’
and return the empty list when it is raised.
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I419ff96ddb424aa8c74d6bab3d66a5e85355c3dc
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions