From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id FXIkOAcJ1mCAAwEAgWs5BA (envelope-from ) for ; Fri, 25 Jun 2021 18:49:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8EJdMwcJ1mAbWwAAB5/wlQ (envelope-from ) for ; Fri, 25 Jun 2021 16:49:11 +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 93ABF23349 for ; Fri, 25 Jun 2021 18:49:11 +0200 (CEST) Received: from localhost ([::1]:47578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwp0w-0000th-0i for larch@yhetil.org; Fri, 25 Jun 2021 12:49:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwp0o-0000tP-Kk for guix-patches@gnu.org; Fri, 25 Jun 2021 12:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwp0o-0005ee-DV for guix-patches@gnu.org; Fri, 25 Jun 2021 12:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwp0o-0001c4-8s for guix-patches@gnu.org; Fri, 25 Jun 2021 12:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49196] [PATCH] import: utils: 'recursive-import' skips unfound packages Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Jun 2021 16:49: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: Sarah Morgensen Cc: 49196@debbugs.gnu.org Received: via spool by 49196-submit@debbugs.gnu.org id=B49196.16246396846112 (code B ref 49196); Fri, 25 Jun 2021 16:49:02 +0000 Received: (at 49196) by debbugs.gnu.org; 25 Jun 2021 16:48:04 +0000 Received: from localhost ([127.0.0.1]:46712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwozs-0001aR-Fn for submit@debbugs.gnu.org; Fri, 25 Jun 2021 12:48:04 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:43939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwozj-0001Zf-QR for 49196@debbugs.gnu.org; Fri, 25 Jun 2021 12:47:56 -0400 Received: by mail-wm1-f54.google.com with SMTP id p8-20020a7bcc880000b02901dbb595a9f1so6253451wma.2 for <49196@debbugs.gnu.org>; Fri, 25 Jun 2021 09:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UkPd/sRmmdnmzmWROqOQXNgu7WKtaClM5CwL7J1hPoA=; b=j70L/uMd8BLEzJd/Fa02EAyRyCf2yOgvd/VHXk1H0nlzLo7aJJrYDRYalbKuyfXAbq D/BTSnSjQoZPKUHE9bVS9NcBG6wszYEYj+wXsLD4cDGD7UFmR2kgjT3nv7r8XXnJ9gsX HmHJ0a3G2tKu1OtmUtpsnbeuUvzD9Wr2DmVW1HmaD5SVjuzkBgS7TJt97IdkYBF5NMyh +DqKt6CxvFKA9JmkXyc/KFLC6TaeSCYgWNlaAA8/rihfBgsEPkAzBGXR4IeDh5OJbRyw FQDTQ/vb08YK/JwvRYR2YPxuqFwPk4uKr1Vh/zs25vnjt02K4xqs+MIGLXroGRCB7cjK pLAg== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UkPd/sRmmdnmzmWROqOQXNgu7WKtaClM5CwL7J1hPoA=; b=L9vfdIK6BHU6ufDHe82++loTI8FTi6TMJWSBuKCZjOQfpD3y0DJH5T2PQGBH9RnjoD daRnfhC5Yzkyhdh/QuDmW4gu02R6ULorD1R4FNUgG2sTb04oMA3BVxGhz8ul+m+wmvo3 ER981Ps+MLOnuq8LrBoPJmux5hJlss8ig0+Ebv6Ri2aJbvY9EtJ2ly6pb6rq20ECNNAx zCrasXcADzoywHnaFQ1pWCN3WiYqgd9SunkG6KEJJkA6dYwJ7JUpe/pi8XB4w/xkCFdh OTyvh8iFlabfZMJV80+tsBn5xsuo9KAjI/1U72Nf+CFWXMgPx62ORQQuZ/P5U62T2swD vXqA== X-Gm-Message-State: AOAM533EIaj5o6G8a12xRMwA8AtiJpscatiIfe0iH48thjfnyKZONTDC FzF6TNchq3zSynObBlosL1FgO9jHj74= X-Google-Smtp-Source: ABdhPJzrigGcxg//A+xWcN7TrzOJnbyG9gYgDxxbz1vDjM8YDUkzqMHz170IWLBV5yop43r9pKbS0Q== X-Received: by 2002:a7b:c089:: with SMTP id r9mr11694421wmh.167.1624639669897; Fri, 25 Jun 2021 09:47:49 -0700 (PDT) Received: from bioinfomeary01-Precision-7820-Tower ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id u10sm6086823wmm.21.2021.06.25.09.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 09:47:49 -0700 (PDT) From: zimoun References: <07d7149fc0f89f7f2d11fba47e1b0b2db5ceb809.1624479231.git.iskarian@mgsn.dev> <854kdna1wu.fsf@gmail.com> <86lf6y7eur.fsf_-_@mgsn.dev> Date: Fri, 25 Jun 2021 18:47:23 +0200 In-Reply-To: <86lf6y7eur.fsf_-_@mgsn.dev> (Sarah Morgensen's message of "Thu, 24 Jun 2021 21:22:36 -0700") Message-ID: <85v96199ic.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624639751; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=UkPd/sRmmdnmzmWROqOQXNgu7WKtaClM5CwL7J1hPoA=; b=sGR8hZyWd224y6yhhXmKne9wcuBXstKtVm0aGtGFpeB1kgmSep0GQkzAvhJ5eD5JUmXHWv mAFl/b6ewEnf3+mvjzNvmeNScK01omStZULnvVHUSyOpTIgZFcVFwfA+oybxjVMmpNLNh7 WoXVQ2cLo+iWwvgu3aec3tyqlhTxW7ihk1XZliFN3UkuqWcdDQQUOpxPxSoikSXdV6N966 xo7IpYOuLRwOv5mQ3JmUuxLM/2/AlAtzMVzbVoK3yJcFNAgQJy/7JW+ZXA3K6SNbDe8B+9 2eqz8Zc/5GdurfXXxqozLA+MdKhcJkQDhrMKrk05vJl5DwsFS3VMDbWCX0536Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624639751; a=rsa-sha256; cv=none; b=BxFSNbsBo36nJRDqduxSI/GH42TKGsb2J/AlJR7aTGwE5/R8dGNnimHLKit3LfbD+Loe0t AwfznqlNJyCf9sr+AjrzDL8S4JWhxDPRIgA65vMzKiGV8jIlpAXQq5gFNuPsttBWFQ1MQO cLZ4mV/1hA6ThcH63o9yVYK1wOtY9usCRnV4n+PPDomBg3dWdUtLlSlVgOrBmp1Sak1mpd 7VuO/dXVFbHixQytIkWdAnlSwDkTs01MSmz+BTn3zfC5QsCCc4IHTUZ5UYMBV1uMs4IgDo IR/XmOY7b1/2dXaGDkgv2eIUqpQinvi40Wq+bljRJMQCohKW8yYshchPDCtoIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="j70L/uMd"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="j70L/uMd"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 93ABF23349 X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: tQKNO6ULUaCQ Hi Sarah, I sent a v3 where your v2 is split into 2 parts. Then I move the guard. Now, your initial example returns: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix import go git.sr.ht/~sircmpwn/aerc -r following redirection to `https://pkg.go.dev/github.com/zenhack/go.notmuch'... following redirection to `https://pkg.go.dev/github.com/zenhack/go.notmuch'... following redirection to `https://github.com/ProtonMail/go-crypto?go-get=1'... following redirection to `https://github.com/jtolio/gls?go-get=1'... guix import: warning: Something went wrong with ("github.com/neelance/sourcemap" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). guix import: warning: Something went wrong with ("github.com/neelance/astrewrite" #:goproxy "https://proxy.golang.org" #:version #f #:pin-versions? #f). (define-public go-git-sr-ht-~sircmpwn-getopt (package (name "go-git-sr-ht-~sircmpwn-getopt") (version "0.0.0-20201218204720-9961a9c6298f") (source [...] ("go-github-com-creack-pty" ,go-github-com-creack-pty) ("go-git-sr-ht-~sircmpwn-getopt" ,go-git-sr-ht-~sircmpwn-getopt))) (home-page "https://git.sr.ht/~sircmpwn/aerc") (synopsis "aerc") (description "aerc is an email client for your terminal.") (license license:expat))) --8<---------------cut here---------------end--------------->8--- WDYT? Well, I do not know if it is good idea to catch the 'else' case because it hiddes what is wrong by the importer. On the other hand, it seems a bit friendler for the end-user. :-) Cheers, simon