guix-commits
[Top][All Lists]
Advanced

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

03/06: import: gnome: Silence URL redirect messages.


From: guix-commits
Subject: 03/06: import: gnome: Silence URL redirect messages.
Date: Wed, 17 Mar 2021 18:11:22 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 62c1b0b7440c030fadcdc793b4b474241c377f37
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Mar 17 15:05:34 2021 +0100

    import: gnome: Silence URL redirect messages.
    
    * guix/import/gnome.scm (latest-gnome-release): Pass #:log-port to
    'http-fetch/cached'.
---
 guix/import/gnome.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guix/import/gnome.scm b/guix/import/gnome.scm
index c0ee1bf..43966c1 100644
--- a/guix/import/gnome.scm
+++ b/guix/import/gnome.scm
@@ -83,7 +83,10 @@ not be determined."
 
                   ;; ftp.gnome.org supports 'if-Modified-Since', so the local
                   ;; cache can expire early.
-                  #:ttl (* 60 10)))
+                  #:ttl (* 60 10)
+
+                  ;; Hide messages about URL redirects.
+                  #:log-port (%make-void-port "w")))
            (json (json->scm port)))
       (close-port port)
       (match json



reply via email to

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