From b512dadfd603869ac009a432b56f55945841cce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 1 Jul 2022 16:24:03 +0200 Subject: upstream: 'guix refresh -u' no longer stops when upstream info is lacking. Fixes . Starting from 53b9c27aa59bebf955f0aa24fef60a101480ef5c, 'guix refresh -u' would stop upon the first failure to determine upstream releases. This fixes that. * guix/upstream.scm (package-update): Warn rather than update. --- guix/upstream.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'guix/upstream.scm') diff --git a/guix/upstream.scm b/guix/upstream.scm index dac8153905..9b49d1641f 100644 --- a/guix/upstream.scm +++ b/guix/upstream.scm @@ -515,9 +515,10 @@ this method: ~s") #:key-download key-download)))) (values #f #f #f))) (#f - (raise (formatted-message - (G_ "updater failed to determine available releases for ~a~%") - (package-name package)))))) + ;; Warn rather than abort so that other updates can still take place. + (warning (G_ "updater failed to determine available releases for ~a~%") + (package-name package)) + (values #f #f #f)))) (define* (update-package-source package source hash) "Modify the source file that defines PACKAGE to refer to SOURCE, an -- cgit v1.2.3