guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: upstream: 'guix refresh -u' no longer stops when upstream info is


From: guix-commits
Subject: 01/05: upstream: 'guix refresh -u' no longer stops when upstream info is lacking.
Date: Fri, 1 Jul 2022 17:53:27 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit b512dadfd603869ac009a432b56f55945841cce0
Author: Ludovic Court├Ęs <ludo@gnu.org>
AuthorDate: Fri Jul 1 16:24:03 2022 +0200

    upstream: 'guix refresh -u' no longer stops when upstream info is lacking.
    
    Fixes <https://issues.guix.gnu.org/56338>.
    
    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(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]