From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +KwTFecG1mA0/gAAgWs5BA (envelope-from ) for ; Fri, 25 Jun 2021 18:40:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CJfNEOcG1mAISAAA1q6Kng (envelope-from ) for ; Fri, 25 Jun 2021 16:40:07 +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 1D8892B344 for ; Fri, 25 Jun 2021 18:40:07 +0200 (CEST) Received: from localhost ([::1]:45652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwosA-0007Sk-3Y for larch@yhetil.org; Fri, 25 Jun 2021 12:40:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lworA-00066n-DN for guix-patches@gnu.org; Fri, 25 Jun 2021 12:39:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35154) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwor9-0007UN-2L for guix-patches@gnu.org; Fri, 25 Jun 2021 12:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwor9-0001Kq-1N for guix-patches@gnu.org; Fri, 25 Jun 2021 12:39:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49196] [PATCH v3 1/3] import: go: Return false for package not found. References: <07d7149fc0f89f7f2d11fba47e1b0b2db5ceb809.1624479231.git.iskarian@mgsn.dev> In-Reply-To: <07d7149fc0f89f7f2d11fba47e1b0b2db5ceb809.1624479231.git.iskarian@mgsn.dev> Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Jun 2021 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49196 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49196@debbugs.gnu.org Cc: iskarian@mgsn.dev Received: via spool by 49196-submit@debbugs.gnu.org id=B49196.16246390935042 (code B ref 49196); Fri, 25 Jun 2021 16:39:02 +0000 Received: (at 49196) by debbugs.gnu.org; 25 Jun 2021 16:38:13 +0000 Received: from localhost ([127.0.0.1]:46698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwoqK-0001JA-VD for submit@debbugs.gnu.org; Fri, 25 Jun 2021 12:38:13 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:40622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwoqE-0001I1-7B for 49196@debbugs.gnu.org; Fri, 25 Jun 2021 12:38:08 -0400 Received: by mail-wm1-f45.google.com with SMTP id o33-20020a05600c5121b02901e360c98c08so7104035wms.5 for <49196@debbugs.gnu.org>; Fri, 25 Jun 2021 09:38:06 -0700 (PDT) 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=XxiTGtRPeTke2y/VJ6teh0xYTNnIwzmo2KerftKyvvw=; b=lWzBzphHecAAcRCX+LUUigDsxZsboC+1weC1aQutUajxSKTcmlEY8L1oxERVkH6Izt 3Lsgs5FazGSWz8tKLJG26Y61usyyD8VIXLBtsztwJ+VHwAjvPlvPlUQYhdQqRG+XlK78 K599MAJzTnDAwAfEytd9t3+NeMFf4X2lVBZBsgT4ogmm1PGo/FGRaT9qVyWtzH6DHmOK 9Lsc7bzcPblsBgFDTg1JJFOlJ/ragB9MeKfm2689RQQd289HoPrX10BbAVI2eUqRilJG 7KI2+IEu42af0VlcojkUqHHhyDXWk8qDY7EgnKGwiTM6+OIFs5gKiBhc9P7kGKRRANqt 9/Pg== 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=XxiTGtRPeTke2y/VJ6teh0xYTNnIwzmo2KerftKyvvw=; b=OTs+jZgRnTR6kHajEzPJLKL/nuV3qQzTZ0UxlWsn1a3p9+e7dRT0NsdxXFbR0KxR+2 hh6WJaI04nH7ylatSdNld1RO73rzbLNhO/eTN9VHsFVnORmd3fOon76saQXzRx33dj9H JaUYorsfra3hytc+EkjDIb2xOb2DfCJqrX+JMFASbAkw4s2m1bq1q9Lnm4OtdEi4tEe5 osJBfJexBM/IY213z5eaHip93WiVANcnAtw6DTrS3wp2aYs1sQjBIRp8KZY8ISoSEBW9 Bv4PvhYQ0TxzsQPU+2kMoZppF+yhPazUmCcHtMlKsq20iUuMlIQ7Z1qkQyAuaqojWECb WJ7Q== X-Gm-Message-State: AOAM531rKVbnN4dYDRJv0QN+GoAkKUvdx0Z9tj5Vdi8wRgNveDFmW6wn AojeXE9+MNFLhijpmAu+IyYd4+pAhAU= X-Google-Smtp-Source: ABdhPJyQ/7aX/qU3KlNC1Z+L6ySaCo1zxoJr4+vYG1wGOuC70XiMWkMG69W63cS0IB6021VUnqSyGw== X-Received: by 2002:a7b:c8c1:: with SMTP id f1mr11651962wml.90.1624639080316; Fri, 25 Jun 2021 09:38:00 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id 2sm11642170wmk.24.2021.06.25.09.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 09:37:59 -0700 (PDT) From: zimoun Date: Fri, 25 Jun 2021 18:37:47 +0200 Message-Id: <20210625163749.65196-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 1D8892B344 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: Qh3r343PqnQI From: Sarah Morgensen * guix/import/go.scm (go-module-recursive-import): Explicitly return false when packages are not found. --- guix/import/go.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/import/go.scm b/guix/import/go.scm index d110954664..c859098492 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2021 Ludovic Courtès ;;; Copyright © 2021 Xinglu Chen +;;; Copyright © 2021 Sarah Morgensen ;;; ;;; This file is part of GNU Guix. ;;; @@ -651,7 +652,7 @@ This package and its dependencies won't be imported.~%") (uri->string (http-get-error-uri c)) (http-get-error-code c) (http-get-error-reason c)) - (values '() '()))) + (values #f '()))) (receive (package-sexp dependencies) (go-module->guix-package* name #:goproxy goproxy #:version version base-commit: 88c7c739740b56cab132cf1a3f16392c434408f7 -- 2.32.0