From patchwork Mon Nov 16 16:51:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 25156 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2612127BBF5; Mon, 16 Nov 2020 16:53:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 40A8227BBF6 for ; Mon, 16 Nov 2020 16:53:09 +0000 (GMT) Received: from localhost ([::1]:47030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kehka-0002Zf-95 for patchwork@mira.cbaines.net; Mon, 16 Nov 2020 11:53:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kehkU-0002YK-0o for guix-patches@gnu.org; Mon, 16 Nov 2020 11:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kehkT-0006QJ-Mi for guix-patches@gnu.org; Mon, 16 Nov 2020 11:53:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kehkT-0003fN-Lq for guix-patches@gnu.org; Mon, 16 Nov 2020 11:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44688] [PATCH] weather: Fix '--substitute-urls'. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Nov 2020 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44688 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44688@debbugs.gnu.org Cc: zimoun X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160554553414031 (code B ref -1); Mon, 16 Nov 2020 16:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Nov 2020 16:52:14 +0000 Received: from localhost ([127.0.0.1]:56960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kehjf-0003eC-4B for submit@debbugs.gnu.org; Mon, 16 Nov 2020 11:52:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:34492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kehjd-0003e4-5G for submit@debbugs.gnu.org; Mon, 16 Nov 2020 11:52:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kehja-0001zG-M4 for guix-patches@gnu.org; Mon, 16 Nov 2020 11:52:07 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:44443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kehjW-00064p-9V for guix-patches@gnu.org; Mon, 16 Nov 2020 11:52:06 -0500 Received: by mail-wr1-x434.google.com with SMTP id c17so19390502wrc.11 for ; Mon, 16 Nov 2020 08:52:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=z7beSIGoTonw2xHHedocGAkkRqZj/+pEO0RzRJdc6Oo=; b=gNzUQvfHrd5SdUDCDQ3LGs9vPjY24hO8TI/19v7n4HNFpM6wxECSW4YrTkMaarTD4p Bjjyx8DjTMu5jsDHMsiN6ruxE31WiGNcWxgmrYli0ZIV7hUWEJWRrRClCkvFGmdyz9QK Ub5b9ULfLQoNTNNg04mdACzdB3THx8hzPXIINWjMkLqv/Chs6vaRDze1yAA+okrGNKso +vftfO27ir/Vkz645Tk56BNuIASJBbFOzINzssCg4y7iru3DahMsAOA/UxffPzyRIJ3L xuiFG61zndopY39d9ZaGmBZEeaKHXQYkDm9HazDYoC+6XfpcFuYjMv/0fl2LO8P0M47v zuVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=z7beSIGoTonw2xHHedocGAkkRqZj/+pEO0RzRJdc6Oo=; b=tgPyATlAJlDssAxS6N7A6jyMMrAqd9CnreNY84jaTV0QIr6AErIkM9SKQGXReeJPhr 56JeZU/L6RDgtp4BBGOB5TpsmWh4Bot6oExcF4Yqh0LjtGUwMJr3AHksXASoK2UtlKBo UvDG3DXEMngSeYJa8KkNMYPc1UL//f/HPsVvfFMQ8NxZDIOaL0b1RDxhBrZUoN5FwFV8 Jipl+QCEZI+YsKKdU/WNYFMzx5obkTnCtIM/dZZMXmS3+el72Q7zFiwsU+rhOZ9ghO5E Q6mbgpEyD3Q5dnPBqcNgYddL/oqs9dhClbnLQbGL2vGcWNKxJxNlJ/I1Bt13lSAG72/5 wjJw== X-Gm-Message-State: AOAM531BqMX2msPeEzEgP0KSVb6tlwY+LaRx4lon1gs9v81uEVnI/ymN d/lL3lQjoX4EUdXdm2uk/m51XC3wTl+P+w== X-Google-Smtp-Source: ABdhPJw9YdtrBRfh4RYVPzYFEsbYT8Yq1IQOTuwthiljZsyU2BRcbFnnazPnpdi2L66Vk3IAHVTvkQ== X-Received: by 2002:adf:fa82:: with SMTP id h2mr20135932wrr.24.1605545519449; Mon, 16 Nov 2020 08:51:59 -0800 (PST) Received: from localhost.localdomain ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id h62sm23575476wrh.82.2020.11.16.08.51.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 08:51:58 -0800 (PST) From: zimoun Date: Mon, 16 Nov 2020 17:51:51 +0100 Message-Id: <20201116165151.6022-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Fixes . Reported by Efraim Flashner . * guix/scripts/weather.scm (guix-weather): Fix when substitute-urls is a list. --- guix/scripts/weather.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) base-commit: 243512d984e1b870d3b77b2759698a64ed723fea diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm index 6a2582c997..c6ae4212de 100644 --- a/guix/scripts/weather.scm +++ b/guix/scripts/weather.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017, 2018, 2019, 2020 Ludovic Courtès ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2018 Kyle Meyer +;;; Copyright © 2020 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +31,7 @@ #:use-module (guix grafts) #:use-module (guix gexp) #:use-module ((guix build syscalls) #:select (terminal-columns)) + #:use-module ((guix build utils) #:select (every*)) #:use-module (guix scripts substitute) #:use-module (guix http-client) #:use-module (guix ci) @@ -540,7 +542,7 @@ SERVER. Display information for packages with at least THRESHOLD dependents." (package-outputs packages system)) systems)))))) (exit - (every (lambda (server) + (every* (lambda (server) (define coverage (report-server-coverage server items #:display-missing?