[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu-maintenance: 'generic-html' updater ignores invalid host name
From: |
guix-commits |
Subject: |
01/08: gnu-maintenance: 'generic-html' updater ignores invalid host names. |
Date: |
Thu, 8 Dec 2022 07:09:13 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit c370998f0161c37cff5800a38dccce07712ba6e2
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Dec 8 12:03:00 2022 +0100
gnu-maintenance: 'generic-html' updater ignores invalid host names.
Previously "guix refresh xkbset" for example would crash with a
getaddrinfo-error because the domain name is invalid. Now it reports
failure to update.
Reported by Tyler Wolf <tyler@twolf.io>
in <https://issues.guix.gnu.org/59598>.
* guix/gnu-maintenance.scm (latest-html-updatable-release): Return #f
upon 'getaddrinfo-error' as well.
---
guix/gnu-maintenance.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 1142c53d3d..2881a6be43 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2010-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
@@ -837,7 +837,7 @@ the directory containing its source tarball."
;; Return false and move on upon connection failures and bogus HTTP
;; servers.
(unless (memq key '(gnutls-error tls-certificate-error
- system-error
+ system-error getaddrinfo-error
bad-header bad-header-component))
(apply throw key args))
#f))))
- branch master updated (fc774ece91 -> 34628a54ec), guix-commits, 2022/12/08
- 04/08: doc: Replace reference to Freenode., guix-commits, 2022/12/08
- 01/08: gnu-maintenance: 'generic-html' updater ignores invalid host names.,
guix-commits <=
- 07/08: gnu: cava: Update to 0.8.3., guix-commits, 2022/12/08
- 08/08: gnu: extremetuxracer: Update to 0.8.2., guix-commits, 2022/12/08
- 05/08: services: configuration: Rewrite 'alist?' procedure., guix-commits, 2022/12/08
- 06/08: gnu: minetest: Add minetest-oneblock., guix-commits, 2022/12/08
- 03/08: gnu: xkbset: Update to 0.8., guix-commits, 2022/12/08
- 02/08: gnu: xkbset: Update source URL and home page., guix-commits, 2022/12/08