From unknown Fri Jun 20 07:26:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63001 <63001@debbugs.gnu.org> To: bug#63001 <63001@debbugs.gnu.org> Subject: Status: Go importer doesn't know MODULE/vX.Y version tags Reply-To: bug#63001 <63001@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:26:36 +0000 retitle 63001 Go importer doesn't know MODULE/vX.Y version tags reassign 63001 guix submitter 63001 "Timo Wilken" severity 63001 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 13:40:09 2023 Received: (at submit) by debbugs.gnu.org; 21 Apr 2023 17:40:09 +0000 Received: from localhost ([127.0.0.1]:41080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppujx-0007VM-9O for submit@debbugs.gnu.org; Fri, 21 Apr 2023 13:40:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:58630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppuju-0007VC-Td for submit@debbugs.gnu.org; Fri, 21 Apr 2023 13:40:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppuju-00047z-KJ for bug-guix@gnu.org; Fri, 21 Apr 2023 13:40:06 -0400 Received: from mx1.mythic-beasts.com ([2a00:1098:0:86:1000:0:2:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppujs-0004K7-Ir for bug-guix@gnu.org; Fri, 21 Apr 2023 13:40:06 -0400 Received: by mailhub-cam-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ppujp-001FFj-G2 for bug-guix@gnu.org; Fri, 21 Apr 2023 18:40:01 +0100 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 21 Apr 2023 19:39:53 +0200 Message-Id: From: "Timo Wilken" To: Subject: Go importer doesn't know MODULE/vX.Y version tags X-Mailer: aerc 0.14.0 X-BlackCat-Spam-Score: 7 X-Spam-Status: No, score=0.7 Received-SPF: pass client-ip=2a00:1098:0:86:1000:0:2:1; envelope-from=timo@twilken.net; helo=mx1.mythic-beasts.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Some Golang repositories apparently use a tagging scheme where each submodule in the repo gets its own tags. In this case, the example is cloud.google.com/go and its submodules (hosted at https://github.com/googleapis/google-cloud-go). For example, for the cloud.google.com/go/longrunning submodule at version 0.4.1, the Go importer should look for a tag called "refs/tags/longrunning/v0.4.1" in the Git repository. #+begin_example $ guix import go -r cloud.google.com/go/longrunning Backtrace: 19 (primitive-load "/home/timo/.config/guix/current/bin/gu=E2=80= =A6") In guix/ui.scm: 2300:7 18 (run-guix . _) 2263:10 17 (run-guix-command _ . _) In guix/scripts/import.scm: 89:11 16 (guix-import . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/import/go.scm: 114:22 14 (_) In guix/import/utils.scm: 638:27 13 (recursive-import _ #:repo->guix-package _ #:guix-name . #) 630:33 12 (lookup-node "cloud.google.com/go/longrunning" #f) In guix/memoization.scm: 98:0 11 (mproc "cloud.google.com/go/longrunning" # # =E2=80=A6) In unknown file: 10 (_ # =E2=80=A6) In guix/import/go.scm: 685:10 9 (_ _ #:version _ #:repo _) In ice-9/exceptions.scm: 406:15 8 (go-module->guix-package* . _) In ice-9/boot-9.scm: 1752:10 7 (with-exception-handler _ _ #:unwind? _ # _) In guix/import/go.scm: 511:19 6 (go-module->guix-package "cloud.google.com/go/longrunn=E2=80= =A6" =E2=80=A6) In guix/git.scm: 291:4 5 (update-cached-checkout _ #:ref _ #:recursive? _ # _ # _ =E2= =80=A6) 277:19 4 (resolve _) In git/reference.scm: 60:8 3 (_ _ _) In git/bindings.scm: 77:2 2 (raise-git-error _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Git error: reference 'refs/tags/v0.4.1' not found #+end_example The same is true for other modules, e.g. github.com/Azure/azure-sdk-for-go/sdk/internal, where the tag is called "refs/tags/sdk/internal/v1.3.0" instead: #+begin_example $ guix import go -r github.com/Azure/azure-sdk-for-go/sdk/internal Backtrace: 19 (primitive-load "/home/timo/.config/guix/current/bin/gu=E2=80= =A6") In guix/ui.scm: 2300:7 18 (run-guix . _) 2263:10 17 (run-guix-command _ . _) In guix/scripts/import.scm: 89:11 16 (guix-import . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) In guix/scripts/import/go.scm: 114:22 14 (_) In guix/import/utils.scm: 638:27 13 (recursive-import _ #:repo->guix-package _ #:guix-name . #) 630:33 12 (lookup-node "github.com/Azure/azure-sdk-for-go/sdk/in=E2=80= =A6" =E2=80=A6) In guix/memoization.scm: 98:0 11 (mproc "github.com/Azure/azure-sdk-for-go/sdk/internal" =E2=80= =A6) In unknown file: 10 (_ # =E2=80=A6) In guix/import/go.scm: 685:10 9 (_ _ #:version _ #:repo _) In ice-9/exceptions.scm: 406:15 8 (go-module->guix-package* . _) In ice-9/boot-9.scm: 1752:10 7 (with-exception-handler _ _ #:unwind? _ # _) In guix/import/go.scm: 511:19 6 (go-module->guix-package "github.com/Azure/azure-sdk-f=E2=80= =A6" =E2=80=A6) In guix/git.scm: 291:4 5 (update-cached-checkout _ #:ref _ #:recursive? _ # _ # _ =E2= =80=A6) 277:19 4 (resolve _) In git/reference.scm: 60:8 3 (_ _ _) In git/bindings.scm: 77:2 2 (raise-git-error _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Git error: reference 'refs/tags/v1.3.0' not found #+end_example From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 17 11:13:59 2023 Received: (at 63001) by debbugs.gnu.org; 17 Jun 2023 15:14:00 +0000 Received: from localhost ([127.0.0.1]:52287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAXcl-0000FH-Cr for submit@debbugs.gnu.org; Sat, 17 Jun 2023 11:13:59 -0400 Received: from mx2.mythic-beasts.com ([46.235.227.24]:35093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAXcc-0000EB-Cs; Sat, 17 Jun 2023 11:13:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twilken.net ; s=mythic-beasts-k1; h=To:From:Subject:Date; bh=pLlAjfqsoe+3U3a73MQeHAaM/uSI+UrqGsrVeSKy1QM=; b=zI4HPa8dV46Hjnio0YDducSSwZ M29u2+iSJgjnWkngcWfT9SjYDe9ZLcVAF6i1Ndo75UO/OHkpFsGhXUIm1L8Fz/B5Y6Tg3zjvoVFmy d2/oqU7XiJvDOnOICpI3cx5UJO/54X/q5T9ko6ub0/iW9+KHQrST+7gIUbsLEFePPVSChBnKxzIj0 6vl4AibdV6yP/bGdLIvjcfMXs4yCOg/+eCxfY8y0t1VVKYU/YVdRUrSzYPgPYv7nhW0qOEJZKfPL7 6rRHFmKh51WiRPEO/oUchLlUi9MFuV/F8pPh+ZAd9D/fTIovUzVWesUglqbjMlC1UubueYwa/EPQC NdDeVMug==; Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qAXcS-004VRH-W7; Sat, 17 Jun 2023 16:13:41 +0100 Content-Type: multipart/signed; boundary=dc3bfcd0ce40fc9a1a65ded3476be064f73442d113438739c89741eeba4a; micalg=pgp-sha256; protocol="application/pgp-signature" Date: Sat, 17 Jun 2023 17:12:58 +0200 Subject: Re: bug#63631: [PATCH] import: go: Handle subpackage versioning correctly. From: "Timo Wilken" To: =?utf-8?q?Ludovic_Court=C3=A8s?= Message-Id: X-Mailer: aerc 0.14.0 References: <6dd1de3dd4d968876fa55f5126056834c77b0244.1684703258.git.guix@twilken.net> <87pm5xrbsg.fsf@gnu.org> In-Reply-To: <87pm5xrbsg.fsf@gnu.org> X-BlackCat-Spam-Score: 16 X-Spam-Status: No, score=1.6 X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 63001 Cc: 63631@debbugs.gnu.org, 64036@debbugs.gnu.org, Simon Tournier , 63647@debbugs.gnu.org, 64035@debbugs.gnu.org, 63001@debbugs.gnu.org, 54097@debbugs.gnu.org, wolf@wolfsden.cz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --dc3bfcd0ce40fc9a1a65ded3476be064f73442d113438739c89741eeba4a Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hi Ludo', (hi everyone,) On Wed Jun 14, 2023 at 11:09 PM CEST, Ludovic Court=C3=A8s wrote: > Timo Wilken skribis: > > Here's a patch that fixes the reported issue (bug#54097) for me. I've o= nly > > tested this on the github.com/googleapis/google-cloud-go/compute packag= e so > > far, though it seems to work there. Perhaps others have more testcases? > > > > I don't know enough about Go tooling to use it, so I've just patched th= e Guile > > logic of the importer. (I don't write Go, I just want to package stuff = written > > in it.) In terms of performance, at least the repo contents are apparen= tly > > cached by the first `git-checkout-hash' call, even if it fails, so the = second > > call doesn't have to redownload them. I've been testing my patch further this weekend, and I have a couple more patches in the pipeline; I suppose I ought to clean those up and submit the= m. In particular, I've got fixes for the following queued up locally: 1. Finding the `module-path-subdir' needs another case for e.g. cloud.google.com/go/*. 2. My patch sometimes generates an unnecessary `go-version->git-ref' call. 3. Go versions need to be parsed from go.mod, since some packages require a newer Go compiler than our default. This I've got a patch for, but this = Go version also ought to propagate up the dependency tree. I haven't found = an easy way to do that, since the importer seems to generate top-level packages first, before descending the dep tree... 4. `fetch-module-meta-data' ought to ignore 4xx HTTP errors to follow the spec; gonum.org/v1/gonum specifically depends on this behaviour. I've been trying to recursively import github.com/matrix-org/dendrite, whic= h has a particularly large and hairy dependency tree. While I can now import = it without crashes, I can't build it from the imported package definitions yet= -- mainly because of lots of dependency cycles in the generated packages, but there may be more issues hidden beneath that. Still, I can recommend it as a test of everyone's importer patches, since it'll find a lot of edge cases in importing alone! > What you propose looks similar to part of the work Simon Tournier > submitted at . It seems lots of people have been working on the same problem -- in additio= n to Simon's patches, I found a patch submitted by Elbek (issues 64035 & 6403= 6; Cc'd). I also forgot about the issue I submitted months ago (63001)... > What would you suggest? Simon? Here's a brief comparison between Simon's patches and mine -- Simon's seem = to contain fixes for a couple more things than mine currently does: 1. Simon sorts available versions in an error message; this can presumably = be merged independently since it doesn't conflict with other patches. 2. Simon always prepends a "SUBDIR/" prefix to the tag if found, whereas I = try to find the plain "vX" tag first, then fall back to "SUBDIR/vX". Judging= by https://go.dev/ref/mod#vcs-version, Simon's approach seems more correct. I'll change my implementation to match and try it out. 3. For detecting the `module-path-subdirectory' in Simon's patches: that's = the same approach I used initially, but I found I have to try `(substring module-path (string-length import-prefix))' first (to handle e.g. cloud.google.com/go/*). This is one of the things I haven't submitted yet... > Thanks for the patch, Timo! Thanks for your work in sorting through all of this, Ludo'! Cheers, Timo --dc3bfcd0ce40fc9a1a65ded3476be064f73442d113438739c89741eeba4a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEU+w8BoVog92SNVvCL8eFBGgfabAFAmSNzaUACgkQL8eFBGgf abDEaA//Y6k/Uckhvq+wllES0TjACxVG+2bY2E/wLZNoQShXF5Tn3ZQ9o2HOU7Gr p8er/t/JkPLYm9w2MidUtvTms6qxp8H/YIZ12gzZ+GP/eoKa/iiqt42+KZvLS/Is B2JWEcaJLFYy0w9nuubeuQpgcWEmxyk7/zb++GovD0tfYgczII3N1Z5fhRmeAj0N FbKqfkBocxruYvBfcI5KhMV6Q1TjCwuAH+j2iwNmsiSnm7NTKbJxfCyO9+p5UF9w O/em01p9J+Cg6EEFunwoi1pjoEAkVZCRtgaiP1SMgapq74UKKagvsWqMoW+JHpDf uuiaVn1sLuTt+u9KGamYqaCj1NRcCfN7SjPxS7oTM4hsytVDmUB/eIHD6t3HntCP Ev43fJKJwLoybQV0ptajnJggEEaEY1cegQG683jsD0ycrToh4YEhLe5fQsGhaLMA 7MSLjjf0K73BoFyZi+wYyfDPYqXRQmpb3Z6cKJPlF3v4IF13UtSxP0yBRdz930aI 1b1Q5khLQzQBI0fvxMNcZGPeA2RjPyNsXE8pKn9zEkIunzX9VYN8az++EjX928Ox mmgjEUsLWMPCSMwGcEoZye6R5wJUG34LEkoQTbySf+314hlELPuGcLCatFgZZbXq 1Hn1upt13XYRYVCX/SXIpBJL9gdNbi2sSg8FVm4Aq+sQQqZzAKs= =fjJn -----END PGP SIGNATURE----- --dc3bfcd0ce40fc9a1a65ded3476be064f73442d113438739c89741eeba4a-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 13:11:58 2023 Received: (at 63001) by debbugs.gnu.org; 16 Aug 2023 17:11:58 +0000 Received: from localhost ([127.0.0.1]:41952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWK3p-0005Pc-Mh for submit@debbugs.gnu.org; Wed, 16 Aug 2023 13:11:58 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:40280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWK3i-0005NC-4w; Wed, 16 Aug 2023 13:11:51 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3fe8d816a40so10390875e9.1; Wed, 16 Aug 2023 10:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692205904; x=1692810704; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=mPduG9+ksRVkvzA0Qa/2RSlV1qAxQ2THAGkRputDeZg=; b=kf/zrJ6sn6Ce3Oq1u2FvdL+MYum7ZsmvPAkyQHUiLrEjBKympdHsgZynQfGScDOF1o 2BQN3fnzh1HRd5aoaYx6fyircREuPP8gLC31ioVVkE2SHrQCYUrIz3EfnUcQZgFCTfOU W/Y3aGZF9huYCSkRkYqx6mvoQF6bySXdDMOfY2ACbEldc2UDi+q9eMPT79htVNY+gXll 3ZVxKoslNjhu0CxRLF2h7CVmH6wdTAXRGJHYAExX/B7fHK064983xkbUAQCQU/H9C0jW rz9bi0xkre8fRvpLGsZKeLUXkAKkidUp5wBb7pTpW6gQu/2K2y0sNrDOGMmt3LUXh5vR q2mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692205904; x=1692810704; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mPduG9+ksRVkvzA0Qa/2RSlV1qAxQ2THAGkRputDeZg=; b=VbPNIfHCRrbiXpqYynSpl0ik5yE8GIx7z+1CNuj0/hN6YZc58ajBxNUCkVyNRwaVZW MBnYJrkYr/MS65yZiGeImwmxLM+gAftZ04zo2Tx6BfUiHTF/APQaZ7tQIPELMDdZ4T8j Vzd5fDpmJ62US3rgA7P8e+a4JJRNOve+ATE0a6o9kQJ8+0g7Z06xfnyyjt+wO/Nn+7ik zu3kzGUwNzR5YnjaWlu1Jd/Dh9FVd43Z4ion6/xOPPT/itrYscnsYH+3hi40NCST/SUI dGX9TdM+VGd2TpOd/dKSDat7P/xchu+fKQhYUEGH0F7r+BkGCK9fc3+hdnNC6A6RelEi Kfrg== X-Gm-Message-State: AOJu0YyIpJnqhljehCVLaRbnZsK6h/L6ypcU6041Rj8HMugICWyzb1Ph 2wDUzxu6SM07+1vKGCIctrUhy1hzX7w= X-Google-Smtp-Source: AGHT+IHmilbFgjYL6fX4qMtQ41+nKvDUIBegmVp8/JhAgr/rcW2U0mhfwGfdJpaohGClqYJCSLltpQ== X-Received: by 2002:a5d:67cc:0:b0:317:3d36:b2c1 with SMTP id n12-20020a5d67cc000000b003173d36b2c1mr1874230wrw.7.1692205904567; Wed, 16 Aug 2023 10:11:44 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id e15-20020adff34f000000b0031980ae286asm8026512wrp.70.2023.08.16.10.11.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 10:11:44 -0700 (PDT) From: Simon Tournier To: Timo Wilken , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#63001: bug#63631: [PATCH] import: go: Handle subpackage versioning correctly. In-Reply-To: References: <6dd1de3dd4d968876fa55f5126056834c77b0244.1684703258.git.guix@twilken.net> <87pm5xrbsg.fsf@gnu.org> Date: Wed, 16 Aug 2023 17:59:53 +0200 Message-ID: <875y5ff05i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63001 Cc: 63631@debbugs.gnu.org, 64036@debbugs.gnu.org, 63647@debbugs.gnu.org, 64035@debbugs.gnu.org, 63001@debbugs.gnu.org, 54097@debbugs.gnu.org, wolf@wolfsden.cz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Timo, On Sat, 17 Jun 2023 at 17:12, "Timo Wilken" wrote: >> What would you suggest? Simon? > > Here's a brief comparison between Simon's patches and mine -- Simon's seem to > contain fixes for a couple more things than mine currently does: > > 1. Simon sorts available versions in an error message; this can presumably be > merged independently since it doesn't conflict with other patches. > > 2. Simon always prepends a "SUBDIR/" prefix to the tag if found, whereas I try > to find the plain "vX" tag first, then fall back to "SUBDIR/vX". Judging by > https://go.dev/ref/mod#vcs-version, Simon's approach seems more correct. > I'll change my implementation to match and try it out. > > 3. For detecting the `module-path-subdirectory' in Simon's patches: that's the > same approach I used initially, but I found I have to try `(substring > module-path (string-length import-prefix))' first (to handle e.g. > cloud.google.com/go/*). This is one of the things I haven't submitted > yet... Sorry if I have missed some patches or overlooked something. Do you plan to send another patch series handling all? Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 25 08:31:21 2025 Received: (at 63001-done) by debbugs.gnu.org; 25 Jan 2025 13:31:21 +0000 Received: from localhost ([127.0.0.1]:48938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbgFt-00085M-1c for submit@debbugs.gnu.org; Sat, 25 Jan 2025 08:31:21 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:44264) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tbgFr-000853-9K for 63001-done@debbugs.gnu.org; Sat, 25 Jan 2025 08:31:20 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-436345cc17bso21219075e9.0 for <63001-done@debbugs.gnu.org>; Sat, 25 Jan 2025 05:31:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737811872; x=1738416672; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=K48dOyrUorMb7IJ3t4tdSTHTDg7V11DD/qpj4i5keBk=; b=Y0iM48Nmeb2FS+8JQ05N0lsmTUQpml3I7thSfKi9vvpfIKvzUlkvrLdCdQgIBXGQGf GTFJjqekaGTZufPk5ZInSlEix4aeUIYhyx0J8oPpPJ4pm0zL6bi5X2Tf9bjsENRVrNuy q80lV+8o4aDJzwDK1k/p4Jg6S23SJH2RAZKEnwTE/96NifUCcUz8c8XEhgmVtPEuJ2uh XLYA/l5RKDicDboPvcfkR/0xOsDiT2Uxk9pSxVnmeYn0BXUwDHNrzpzdRb96b7yBKwYz bfTYfg1icyVIRdOlFjogP2cy7B6thQ9YInV1e9+HmEqP3WfPzl0mF/BLawFiaSPc/Geb HIvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737811872; x=1738416672; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=K48dOyrUorMb7IJ3t4tdSTHTDg7V11DD/qpj4i5keBk=; b=SZ1anShtRYSVJC30SuAK4O3w3GSn/P5HDPq0LnoAUyjm9Lqhc4rAvBoRKDynxqCOyl FC7AMwsAwpCAlIP/Glba2E+/FrUBYggVbOxDVWtwn8X1sMJRxcZCxoFUSd3GUwfA3IBq s0k3/EoUiqc674kQKaG6kg4PtGzyiDDkijl18ot0Zg7hpv4ezfr7ELtOZjYLlT9ueQr3 aGxpacmK1RKPubxmZdUexekWu+y3K5Ny9s+twBAmUiAB1/ULb3yoHMMaDMTyU5m0Ra/a RFOKFgvhkuimJVoExA5PXLaFaA7qAZ3QF61+kqt6jdt3FcrNJ/PTToXKS8srk6BoPGhY og9Q== X-Gm-Message-State: AOJu0Yw5oxhfSfKd2YDFX2ss8gMSOq/0jhDh0jFc0eCObClPTYe/MGcR wkZlfwF/1ea66YY/vhWGbVjuRi8ffjLmoU5k7YsoNg9LLdm5FHO7PwqvVjgR X-Gm-Gg: ASbGncs72Shu6v4eR6uSsHYK6wlyNj4vlC9DAGmxYu5N2FI1jalhld4dI74tcYHMwAE sYl6lZraGgsp/pKpldufQxeJ3sD2kuuTAeRNc2FUJkGR7fj88NE2/VUyoqInBlPYwFhycMvOSSe jPktpk2Hr3Ai5nfTdazzr5fTAKp7pt+YxZiNcgLzHLquRV6h2XgHg1HK2MPWUaOCy7niQP1LyN1 Bs/XRHxW7rrj2x6cekpw+rwLpv8g6DhiKBzNAIqLIOkIcFzOzDQaSUvz2fpCOnV31L3S9qv8d0+ hMGpd/sbsFNsBrxRxEHhsZK4q1GaEX9ySPK74koYWtKb3Oj89QLruuEv X-Google-Smtp-Source: AGHT+IGpnCIDzy9LdebmX4VX9bjOARXteFrehkxnApiIq+roujIl0BUKBsRt/u3u8cwJWh95X/VeiA== X-Received: by 2002:a05:600c:3b94:b0:434:9934:575 with SMTP id 5b1f17b1804b1-438913e02f8mr388199405e9.16.1737811872451; Sat, 25 Jan 2025 05:31:12 -0800 (PST) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd4d3393sm60345435e9.37.2025.01.25.05.31.11 for <63001-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2025 05:31:11 -0800 (PST) From: Sharlatan Hellseher To: 63001-done@debbugs.gnu.org Subject: Go importer doesn't know MODULE/vX.Y version tags Date: Sat, 25 Jan 2025 13:31:10 +0000 Message-ID: <87zfjfqau9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63001-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, The latest changes in go-importer have resolved it: --8<---------------cut here---------------start------------->8--- ~$ guix describe Generation 72 Jan 24 2025 22:18:29 (current) guix ea7a6fa repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: ea7a6fa8c66ef3cfd0ccdec6c0a7a3e7ab3dfc9c ~$ guix import go cloud.google.com/go/longrunning guix import: Importing package "cloud.google.com/go/longrunning"... (define-public go-cloud-google-com-go-longrunning (package (name "go-cloud-google-com-go-longrunning") (version "0.6.4") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/googleapis/google-cloud-go") (commit (go-version->git-ref version #:subdir "longrunning")))) (file-name (git-file-name name version)) (sha256 (base32 "0w04dgxk0lx5k4s255ladf5w8n2nivvhp5vlyb2va96j5aa8j2q5")))) (build-system go-build-system) (arguments (list #:import-path "cloud.google.com/go/longrunning" #:unpack-path "cloud.google.com/go")) (propagated-inputs (list go-google-golang-org-protobuf go-google-golang-org-grpc go-google-golang-org-genproto-googleapis-rpc go-google-golang-org-genproto-googleapis-api go-google-golang-org-genproto go-google-golang-org-api go-github-com-googleapis-gax-go-v2 go-cloud-google-com-go)) (home-page "https://cloud.google.com/go") (synopsis "longrunning") (description "Package longrunning supports Long Running Operations for the Google Cloud Libraries. See google.golang.org/genproto/googleapis/longrunning for its service definition.") (license license:asl2.0))) --8<---------------cut here---------------end--------------->8--- The recursive operation is tests against restic and it imported 400 new packages after 1h. Closing as resolved. -- Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmeU554ACgkQdtcnv/Ys 0rWjDQ//VCP7kk1DwSdar1l+4jrJ4fBZ4yoNMofR5GcSft81yeutKSXm+LMhp00a 1Y85SNA3u/O09tGyKY1Cv3MvEMKI5Zu9XBpuvh+TdgZD603PvLH0YBXaEt8u/Ws1 V4j5knt2T5pnzS272Y3VePcZtwVCo7WU7I7LzDcrCHFxhzhFR54rsYi3/DSuOh4Y PUmLqz4ywu8dBBJLBEeKQxYaUi7RIinv1jOBxaEHqSXshN8gu1zy6CozOg405CQA OSul6nhb/Avkt+Llr647XZy5mieKQUz8U3P0PWw80P5E49tJdMYrTJzahgyGHubG qo4ML2qpKr1KHxztagYube3rpjOFUxV6QbGlkcZlxUujYpAyJVEOL5rp42WNRcQT NtR7faEe/4XBEplSB21KNKk6vCDjHpQQC+FSnNNvKFNiNUqYuhZSM5fDAAvIWhkv 2HTeEUj7Su6gPz5TXb5Y4otE3ksSMc3HyS/vP2kUbO2D3IG+8N23Gxd+ZnylWREb 435BWTr+fMgqu1BEdQoGgJa8T7Mc1B7kwSPsgfomFtRkZbxLJ07KYqw3EwEDdEjg uYefgzPmv/jf4UPTtz0iZRnWJLcO7yw4tIHNNjoZ6NfVem1WT4wo4nQxfzsjdtgh dxvrGoZxpP0lipFDZ2D6fN3KybdfAgWJML6sD4j+tWctmVWdzzI= =90ld -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:26:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 23 Feb 2025 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator