From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MKozODiEk2E6zgAAgWs5BA (envelope-from ) for ; Tue, 16 Nov 2021 11:13:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wJz2MziEk2HOJwAA1q6Kng (envelope-from ) for ; Tue, 16 Nov 2021 10:13:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ADC1293D1 for ; Tue, 16 Nov 2021 11:13:12 +0100 (CET) Received: from localhost ([::1]:36810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmvSh-0001n7-Ni for larch@yhetil.org; Tue, 16 Nov 2021 05:13:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmvSY-0001ml-E8 for guix-patches@gnu.org; Tue, 16 Nov 2021 05:13:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmvSX-000788-Q8 for guix-patches@gnu.org; Tue, 16 Nov 2021 05:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmvSX-0003Qw-L4 for guix-patches@gnu.org; Tue, 16 Nov 2021 05:13:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51888] [PATCH 1/1] import: opam: Warn instead of leave when fetching fails. References: <20211116101043.58471-1-zimon.toutoune@gmail.com> In-Reply-To: <20211116101043.58471-1-zimon.toutoune@gmail.com> Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Nov 2021 10:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51888 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51888@debbugs.gnu.org Cc: julien@lepiller.eu, zimoun Received: via spool by 51888-submit@debbugs.gnu.org id=B51888.163705756613175 (code B ref 51888); Tue, 16 Nov 2021 10:13:01 +0000 Received: (at 51888) by debbugs.gnu.org; 16 Nov 2021 10:12:46 +0000 Received: from localhost ([127.0.0.1]:57307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmvSH-0003QR-PT for submit@debbugs.gnu.org; Tue, 16 Nov 2021 05:12:45 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:36647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmvSF-0003QB-Mr for 51888@debbugs.gnu.org; Tue, 16 Nov 2021 05:12:44 -0500 Received: by mail-wr1-f45.google.com with SMTP id s13so36518806wrb.3 for <51888@debbugs.gnu.org>; Tue, 16 Nov 2021 02:12:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ebnu2/IGmN1laGqpS5bFawIC6ZiGRpIw03bYKK7TDLg=; b=a4jQExqu/epzlNPNuitWB8C2fzNtlZqCKQv15z84dPidoD0J848YaVdrOxWV9S2o5h zsjD4MhCJWkMsJ/ZR4h0g8ECb8KgHyCGl3UI6O3sfd0WRYvs8ppaOUco2RYJvYVTl0pe rYFBYeohC4HEHC2DJjSME4sMnlXtJkveL2ziZYx0sPIrc9HORYf/h35lujL0WExCkgoW SEtPMviab+YPmsRGGAhMCp0EEPNbH2FBFdm0JxtWrULN8BnAmKeG9rin32j95trgyRco ptzOmsrhHctpzmb0gTDEclZIYBlsU9RaZR0eQFsE9liYXcEMJmYZrIWBd6QHoIB9o14q UaWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ebnu2/IGmN1laGqpS5bFawIC6ZiGRpIw03bYKK7TDLg=; b=lmrLCFs9QiI4nz/uWSCSfTmA/2Abm/7Ct6iRjT7Xpo6SoC8ixRXzDuAmQcRenEJpC8 W0xrLzBa1O94GfQH22rnBiQnSZahi/5w7uOsGITPXB/6dyj9ZY83IF9QUj4YTES6N7bz dT6s/MtjcqBlcBjSGtVkXSIf5JGeVIGEubpimckiYBHTesbq61cVyQ17MnhCaHpmS754 Thf3Cmqp6gRzG2QnqAfB09UDnn5E/a3t2rWI1BmdZUu4za9ZV5rCl0duaPQdlDC/z5qc y9K2hO790vTxCB9tY+uvfgTXIPiawssPkG1UwGzDoW+8PTiCnJ/SoPSgiosrJ7GSjBRG REUQ== X-Gm-Message-State: AOAM533bgSNAQnuKk5rg+SGTKy3hly4/j8te8aCB1Rtoz16P/ohbctL8 fEYXafqYW7oWJ1zMuwzEnEEsfPy6mJQ= X-Google-Smtp-Source: ABdhPJxypyD9QETYrAocM2s4ilb5ZEbZZrlXG00EO0FtHazQFqXMJbu76s2qIij69qfL7IC18YtwiQ== X-Received: by 2002:a05:6000:1869:: with SMTP id d9mr7732515wri.416.1637057557896; Tue, 16 Nov 2021 02:12:37 -0800 (PST) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id m14sm23232930wrp.28.2021.11.16.02.12.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 02:12:37 -0800 (PST) From: zimoun Date: Tue, 16 Nov 2021 11:12:34 +0100 Message-Id: <20211116101234.58528-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637057592; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Ebnu2/IGmN1laGqpS5bFawIC6ZiGRpIw03bYKK7TDLg=; b=iI4lbQKDUbYmUS9OHzQxvW7Ka8bBc6fKtFlu+mDnUC/oc5C0yNkg6c52eUWllLwHBOJ9e0 H2HYXMpjqVHCr1mfyoZ4ylIWRv1YnE5I4cjtSwTEiv4jqKPouI29dR+cUAEeBw+SVEkswk GvAGVY+qnmWdaohog1FRx22ujhKa7jP9zJUoni87jXlj5uziwfd3IxBE7K8IxGyf6cpuvy /wgCM23RiMuQLvESIM4iwvra1nbMVOfIqH5FaNoXA8TE17jHjeF/40hAu5eHcdSlY+DZxw NpEzOYSpvDTg086dOP6NhlhjS0EWi6nVgng06L/cf8uqDxRd7R3eCwIuMDi7hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637057592; a=rsa-sha256; cv=none; b=REWoHTwh7svlkApmjkelb41OLjhZi451ohaY0W0ERk/kLLPiWHqwKLo/nM6LSoEgh+r6b5 wfwNKkG/f2O5pVnMEG6bO3Yt0KFkVvIynbYaRNgxhmR0TN+ZL0efXDcaBhF7Xb0kTza8gL rgX+1dFALTXgL5V30F+NV8fkM2IhRmGQh207CLIG13ahyrMCuKQ714Jjkr1PZydf0Rp+sn 0kUSD9LuO8OpfVP6JtCtAXuoMRX4snc3hAp9n6Yeu8/gJrGSR0ImOdtI2EjnbuNfNAwiVw EDcLUTyfFSZplzVvLHyhqb2IrM8RvZPgpEk4Q2nxCqeJBB1HIz8GT++FYmoreg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=a4jQExqu; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=a4jQExqu; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: ADC1293D1 X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: MS64N84/fE32 * guix/import/opam.scm (opam-featch): Warn instead of leave when fetching fails. --- guix/import/opam.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/import/opam.scm b/guix/import/opam.scm index fe13d29f03..0804526e3a 100644 --- a/guix/import/opam.scm +++ b/guix/import/opam.scm @@ -318,7 +318,7 @@ (define* (opam-fetch name #:optional (repositories-specs '("opam"))) (_ others))) #f (filter-map get-opam-repository repositories-specs)) - (leave (G_ "package '~a' not found~%") name))) + (warning (G_ "opam: package '~a' not found~%") name))) (define* (opam->guix-package name #:key (repo '()) version) "Import OPAM package NAME from REPOSITORIES (a list of names, URLs or local -- 2.32.0