From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id COQFCTyga2TKWgEASxT56A (envelope-from ) for ; Mon, 22 May 2023 19:02:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yNjYCDyga2SDCwEAauVa8A (envelope-from ) for ; Mon, 22 May 2023 19:02:52 +0200 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 BC23D2FE3A for ; Mon, 22 May 2023 19:02:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q18vT-00021k-TI; Mon, 22 May 2023 13:02:27 -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 1q18vL-00020r-SL for guix-devel@gnu.org; Mon, 22 May 2023 13:02:21 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q18vJ-0004Ms-0e for guix-devel@gnu.org; Mon, 22 May 2023 13:02:19 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3093aa2f2a5so426729f8f.0 for ; Mon, 22 May 2023 10:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684774935; x=1687366935; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=bXxbhpxu2zhLF26fh7HZ4hFVmCIb3k9HCavDKW3llGg=; b=a1xHnMnZwuZrmDe6vDVa9aGmRWvA/pV4Y3XJzqauSaVHiTtLg5XBHMbS8zN4Es4rO8 ZvG0HINdZRXARPQ/t39zyx9R7SLGmNlxNe5vJFx+LjMozSn1J6zvFhBnWCLgGiBTFdbI BNNKqlt00ZBehxe4cNgHrimk2d7fWqvT2Af1rbxr8YtBMF9bnOR49YGno+FueYPfcagW VKJwrhcEWuYwB7/ORqusJbJPhV4og938cSVJ7pKAm9S9Ri9AW9mROLR3QHsFUbxin1OH Kk2BShxzwwi7CHAJlgoH6YTYowExKY+k/6BMM+kpanBG2GRQ2wfe3VLTUydsm6NZoZaj 7Bgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684774935; x=1687366935; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=bXxbhpxu2zhLF26fh7HZ4hFVmCIb3k9HCavDKW3llGg=; b=MnUPL6LojuK7s4MLlDNN2t8s5dYeGWJQLIaXY0V1gt8hn7M8vCLZFdHS2UvOMMMeLZ 6IfM+8WArlpYSglIN7MLu6VLh1Oscf1TWiWcr1DIzqILhR5R2qKyZ64FNWn3AmYcTQaf dMCceIKqU8ecNdDxLmTJMRLFGOZ+7Cmwd9PnTfMkcrBH7BoobKEOtoP1XUNHosOvpGy/ dwea2rP29Vm4wxReII+H5ogCNwRMyax1IeLB2FSaEmjnSj6ZUE+EIcwMxUsd3xsIZJR4 xeEILfTzVxt8HVt2exqHuKTmIScRbgGe4rMlggBnkxFaHj6lZofVjI85Ydx71w2FXsKa q2ig== X-Gm-Message-State: AC+VfDzvCkTaVyYiLRCeAiIk8bXybDn4fK4k+JqBRfToikjf2K7cvONo 7viUR3NxMaDzeEyw3q0OYa4qeYW1UMU= X-Google-Smtp-Source: ACHHUZ7mBsZm07Zuct32EvHLGypUseLvYrK9BcxoVT9u495EJOUnRPLlf7nPFkrE+QIkWaWk7nweZw== X-Received: by 2002:a5d:4109:0:b0:305:ed26:856e with SMTP id l9-20020a5d4109000000b00305ed26856emr6596894wrp.4.1684774934685; Mon, 22 May 2023 10:02:14 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c10-20020a5d414a000000b00304ae802f02sm8246583wrq.66.2023.05.22.10.02.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 10:02:13 -0700 (PDT) From: Simon Tournier To: Felix Lechner , Guix Devel Subject: Re: Understanding a Golang importer error In-Reply-To: References: Date: Mon, 22 May 2023 18:27:36 +0200 Message-ID: <87o7mcxrev.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42b.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684774971; a=rsa-sha256; cv=none; b=e5IHy8v/UF0TPc526jHGaYI9LMIddE9oloAmknlnwd0MUAatpGZO5Mm0Ua4nQNVa86pLMm 1CQsflRLM+e4TEIkRxDLOPjV/7mS7khBMqEUy0ACwmz9iDMNiV2y1mvxaB5EXAiUT/HROI wblRMJtGVvCySiSLJjLqIhYTZ/k2nPTUktM3JtG9WldvnTn2d8qzQTvAwGSRL8IOcNz/ev 84yHDo4Wcy42AVUUbSx0q05t3T7Zc8CCQOr3XD5UKADMf2CzuXyBK3/Mwwt4vWrh2zRimC ONchr0hSvNTlCufl3USPlIl2iwhBUULmFjVUr6TP5WCjTJtWnUpsSXnw/8fuyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=a1xHnMnZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684774971; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bXxbhpxu2zhLF26fh7HZ4hFVmCIb3k9HCavDKW3llGg=; b=Lv/OTq3aHsyt1JxwUaewhKd2Qrif6enHewbRwNyaIZu0ZtfpV3+Yab6jdqghyO+jZ5SpVu y4kBEblMNDdcfsE7B43Qm71NgeVOtc6DOBVI9HjZa5qQkpWXmrnVHjHRS0kkRy+tUlx4R3 oO+rt/ocGZ3ubKnramzPDxi3e41J6Gqhxcj7JNvQdGFXpFfUTjjythRqz48/Y/LHXDQ2C8 yLNwfFdaef1NtceSGVbB4YYFC9pPZSG1gj7qay57Wyrr9qcab4OBXGJpo24fwmlbNSfnEk V6167fprLPvDY0XnrLaD+uUEL5vhhQfIdcQ7NS/5wHzH8roFX/tS9yTLVDt7zQ== X-Migadu-Spam-Score: -6.58 X-Spam-Score: -6.58 X-Migadu-Queue-Id: BC23D2FE3A X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=a1xHnMnZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-TUID: oJI3+H3lb8iG Hi, On dim., 21 mai 2023 at 20:13, Felix Lechner via "Development of GNU Guix a= nd the GNU System distribution." wrote: > produces the output below. Which repo is missing the v0.41.1 tag, > please? Thanks! Using submission #63647 [1], now it raises: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix import go -r github.com/google/certificate-transparen= cy-go guix import: warning: Git error: reference 'refs/tags/v0.41.1' not found in= https://github.com/open-telemetry/opentelemetry-go-contrib guix import: warning: Git error: reference 'refs/tags/v2.305.9' not found i= n https://github.com/etcd-io/etcd following redirection to `https://github.com/bufbuild/protoc-gen-validate?g= o-get=3D1'... guix import: warning: Git error: reference 'refs/tags/v1.9.1' not found in = https://github.com/googleapis/google-cloud-go guix import: warning: Git error: reference 'refs/tags/v1.14.0' not found in= https://github.com/googleapis/google-cloud-go guix import: warning: Git error: reference 'refs/tags/v1.19.3' not found in= https://github.com/googleapis/google-cloud-go --8<---------------cut here---------------end--------------->8--- Note that these warnings are non-blocking and thus a list of Guix packages can be generated, although some are partial. Well, I do not know if we can do better. I mean, the issue seems about a wrong packaging upstream. I mean, the tag v0.41.1 is reported as metadata from goproxy (https://proxy.golang.org) but then the real Git repository of the package does not contain it. Other said, the importer first queries goproxy and get metadata. This lists available versions; v0.41.1 is part of this list as reported by the hint: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix import go go.opentelemetry.io/contrib/instrumentation= /google.golang.org/grpc/otelgrpc@0.41 hint: Pick one of the following available versions: 0.42.0-rc.1 0.41.1 0.41= .0-rc.2 0.41.0-rc.1 0.41.0 0.40.0 0.39.0 0.38.0 0.37.0 0.36.4 0.36.3 0.36.2= 0.36.1 0.36.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.26.= 1 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.1 0.15.0 0.14.0 0.13.0 0.12.0. --8<---------------cut here---------------end--------------->8--- Second, the importer Git clone the repository. You can access to the cache (replace =E2=80=99simon=E2=80=99 by your username on your machine :-)) --8<---------------cut here---------------start------------->8--- $ git -C /tmp/guix-import-go-simon/bpi2cmvczo24ns3r74zzxe3upjamzlo5t7c5cv4g= wgcpld7jiw4a tag | grep v0.41.1 detectors/aws/lambda/v0.41.1 instrumentation/github.com/Shopify/sarama/otelsarama/example/v0.41.1 instrumentation/github.com/Shopify/sarama/otelsarama/test/v0.41.1 instrumentation/github.com/Shopify/sarama/otelsarama/v0.41.1 instrumentation/github.com/astaxie/beego/otelbeego/example/v0.41.1 instrumentation/github.com/astaxie/beego/otelbeego/test/v0.41.1 instrumentation/github.com/astaxie/beego/otelbeego/v0.41.1 instrumentation/github.com/aws/aws-lambda-go/otellambda/example/v0.41.1 instrumentation/github.com/aws/aws-lambda-go/otellambda/test/v0.41.1 instrumentation/github.com/aws/aws-lambda-go/otellambda/v0.41.1 instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/v0.41.1 instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/v0.41.1 instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/v0.41.1 instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/v0.41.1 instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache/exampl= e/v0.41.1 instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache/test/v= 0.41.1 instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache/v0.41.1 instrumentation/github.com/emicklei/go-restful/otelrestful/example/v0.41.1 instrumentation/github.com/emicklei/go-restful/otelrestful/test/v0.41.1 instrumentation/github.com/emicklei/go-restful/otelrestful/v0.41.1 instrumentation/github.com/gin-gonic/gin/otelgin/example/v0.41.1 instrumentation/github.com/gin-gonic/gin/otelgin/test/v0.41.1 instrumentation/github.com/gin-gonic/gin/otelgin/v0.41.1 instrumentation/github.com/go-kit/kit/otelkit/example/v0.41.1 instrumentation/github.com/go-kit/kit/otelkit/test/v0.41.1 instrumentation/github.com/go-kit/kit/otelkit/v0.41.1 instrumentation/github.com/gocql/gocql/otelgocql/example/v0.41.1 instrumentation/github.com/gocql/gocql/otelgocql/test/v0.41.1 instrumentation/github.com/gocql/gocql/otelgocql/v0.41.1 instrumentation/github.com/gorilla/mux/otelmux/example/v0.41.1 instrumentation/github.com/gorilla/mux/otelmux/test/v0.41.1 instrumentation/github.com/gorilla/mux/otelmux/v0.41.1 instrumentation/github.com/labstack/echo/otelecho/example/v0.41.1 instrumentation/github.com/labstack/echo/otelecho/test/v0.41.1 instrumentation/github.com/labstack/echo/otelecho/v0.41.1 instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/v0.41.1 instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/v0.41.1 instrumentation/google.golang.org/grpc/otelgrpc/example/v0.41.1 instrumentation/google.golang.org/grpc/otelgrpc/test/v0.41.1 instrumentation/google.golang.org/grpc/otelgrpc/v0.41.1 instrumentation/gopkg.in/macaron.v1/otelmacaron/example/v0.41.1 instrumentation/gopkg.in/macaron.v1/otelmacaron/test/v0.41.1 instrumentation/gopkg.in/macaron.v1/otelmacaron/v0.41.1 instrumentation/host/example/v0.41.1 instrumentation/host/v0.41.1 instrumentation/net/http/httptrace/otelhttptrace/example/v0.41.1 instrumentation/net/http/httptrace/otelhttptrace/test/v0.41.1 instrumentation/net/http/httptrace/otelhttptrace/v0.41.1 instrumentation/net/http/otelhttp/example/v0.41.1 instrumentation/net/http/otelhttp/test/v0.41.1 instrumentation/net/http/otelhttp/v0.41.1 instrumentation/runtime/example/v0.41.1 instrumentation/runtime/v0.41.1 propagators/autoprop/v0.41.1 propagators/opencensus/examples/v0.41.1 propagators/opencensus/v0.41.1 zpages/v0.41.1 --8<---------------cut here---------------end--------------->8--- Well, I do not know if there are conventions in the Go ecosystem that points to other tags. For sure, some tags are there as expected and then after v0.24, no. --8<---------------cut here---------------start------------->8--- $ git -C /tmp/guix-import-go-simon/bpi2cmvczo24ns3r74zzxe3upjamzlo5t7c5cv4g= wgcpld7jiw4a tag | grep ^v v0.10.0 v0.10.1 v0.11.0 v0.12.0 v0.13.0 v0.14.0 v0.15.0 v0.15.1 v0.16.0 v0.17.0 v0.18.0 v0.19.0 v0.20.0 v0.21.0 v0.22.0 v0.23.0 v0.24.0 v0.6.0 v0.6.1 v0.7.0 v0.8.0 v0.9.0 v1.0.0 v1.1.0 v1.1.1 v1.10.0 v1.11.0 v1.11.1 v1.12.0 v1.13.0 v1.14.0 v1.15.0 v1.16.0 v1.16.0-rc.1 v1.16.0-rc.2 v1.16.1 v1.17.0-rc.1 v1.2.0 v1.3.0 v1.4.0 v1.5.0 v1.6.0 v1.7.0 v1.8.0 v1.9.0 --8<---------------cut here---------------end--------------->8--- 1: Cheers, simon