From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KKg0BW3aZmJubQEAbAwnHQ (envelope-from ) for ; Mon, 25 Apr 2022 19:29:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iMSGBG3aZmKJ4QAAG6o9tA (envelope-from ) for ; Mon, 25 Apr 2022 19:29:17 +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 AFCA523D70 for ; Mon, 25 Apr 2022 19:29:16 +0200 (CEST) Received: from localhost ([::1]:54636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj2WR-00072Y-GZ for larch@yhetil.org; Mon, 25 Apr 2022 13:29:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj2W1-0006la-1k for guix-devel@gnu.org; Mon, 25 Apr 2022 13:28:49 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]:43323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj2Vz-0001JM-8C for guix-devel@gnu.org; Mon, 25 Apr 2022 13:28:48 -0400 Date: Mon, 25 Apr 2022 17:28:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1650907716; bh=q76W3mgBsyxGTGwo7ob9s+GSSOydyt9XzcAYOJZcXZo=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=k7eFW+j2tb7EYoU9TGqkZvE1Z3O0WckGiGQTYuHEWHSswoWxX74CyP8hEmUePD6yR UaGoPbMLH3zWaoC+riUFwJLaAYt8l341MZOdnXt7v69y1f7dvLONKTtmrw8UsojiVq x3HOFGxCtQr7AGvllePaFcEvSRdzURYlNar3wQ+Mch3jU2yWnmy/NkW5pENSILDOsx wOmK60jpZTsCgc+t6B9UyxXU13O7TTbT0cV89PY/LMdnDevONkxMfdlZY1sYVXOwPw y1IZI3abt2UBZLC0/USmFuBIGEFGDOiwOyDo65OULNFJJRYzYUzuq2BGWQB1tH3dcS Sc9dDshfw50RQ== To: jgart From: Kaelyn Cc: Guix Devel Subject: Re: go importer documentation/exceptions Message-ID: <7678uMLrUbvyaPqagjoyAhU1_xQdZwOrdwKL8PPcRYs5apc1xgseEaQaaonrlxE6RPWFILcttpl44zjAWJUMQOM1F5DJZvvgdUFVDqOxaNs=@protonmail.com> In-Reply-To: <20220423125110.GB9845@gac.attlocal.net> References: <20220423125110.GB9845@gac.attlocal.net> Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=51.77.79.158; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-0201.mail-europe.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, 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: , Reply-To: Kaelyn Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650907756; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=q76W3mgBsyxGTGwo7ob9s+GSSOydyt9XzcAYOJZcXZo=; b=nG3u6Cm10lxStNHqhKomK5rzsJEyVkBOtGfK6/CvZF9HAwlWnp1YcpCmlXYX4dfEd59ZBZ W1DBp/I1n00/dSQC9ucJRyyuFw6XcTXqeMUeOqaKI360lwV0sbxfe89Z67yRqU0HC9jOEp LuOL0142zDsXBgiA15P7UOPioCC2GcnUpBGQIjcue7XqI8I9yb23TDhKRaEK1lTmQ5p9Vz 7V6LEE5NItEmUXc1RpQYQ4N8auze09rnOEhi+6FLQD75Cd0+RkWBPipjL+Lt9gvyK1taeN nRMtLHqVRCFoeByr7EgWE83C0jh2KgnpU/LQTn3c79U7MUo7aDCdF/KMuP3qqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650907756; a=rsa-sha256; cv=none; b=MHK3txolwlfwCFjm6SuyNsulXUvc9eaRPPtgXwjY5ugRX4NB8/W92JyMDT7iLbmHuRbRX3 L3oFtPmbRYMMozs6WIikbR9aYf0tkdKxkhgq01Tc/cgnqOLwBicRLh4H1D+BmYTs0zolSr 8/DNIaBmzckQkaUDiscvXqxv7U1VlbfRqjQ8Cr01HHCPJMUOtzdNh+mZt3Z+Hmub301HYv ED5fh43GPp1w1D021LiTP7DJzsPlvd7j8A5XONTR5dphsjMXizMY8+zrxoYumOr8siwdm7 OZuIzsek2e92ElrHtnCz5RxAhqWa2CIvZt4wC1uEhzZL/DNOKGZ0UL4BQdRZ1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail2 header.b=k7eFW+j2; dmarc=pass (policy=quarantine) header.from=protonmail.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-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail2 header.b=k7eFW+j2; dmarc=pass (policy=quarantine) header.from=protonmail.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-Migadu-Queue-Id: AFCA523D70 X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: nXCBIdDOvDHL ------- Original Message ------- On Saturday, April 23rd, 2022 at 9:51 AM, jgart wrote: > Hi Guixers, > > Here's my experience of learning the right syntax for the go importer: > > 2022-04-23 16:27:42 guix import go https://git.sr.ht/~emersion/ch= athistorysync@0.1.0 > > 2022-04-23 16:27:53 guix import go https://git.sr.ht/~emersion/ch= athistorysync@latest > > 2022-04-23 16:27:58 I tried that too > > 2022-04-23 16:28:00 and > > 2022-04-23 16:28:09 guix import go https://git.sr.ht/~emersion/ch= athistorysync@v0.1.0 > > 2022-04-23 16:28:28 singpolyma: is this related to the issue you = have open? > > 2022-04-23 16:29:41 Do you get an error about a tag being mi= ssing? > > 2022-04-23 16:31:32 here's the exact errors for all three attempt= s: https://paste.sr.ht/~whereiseveryone/dae9350b5680a3960e0e56c6b7c5da5660d= 3b8a6 > > 2022-04-23 16:32:29 looks like a 410: https://developer.mozilla.o= rg/en-US/docs/Web/HTTP/Status/410 > > 2022-04-23 16:33:26 guix import go git.sr.ht/~emersion/chathistor= ysync@0.1.0 > > 2022-04-23 16:33:30 this worked > > > The Guix docs do not explicitly state that a uri like > https://git.sr.ht/~emersion/chathistorysync@0.1.0 is not allowed: > > https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-import.html > > This leaves footguns for new users trying to use the go importer for the > first time since a new user might want to just copy paste the go package'= s > url into the terminal. > > Should we be explicit in the docs about what uri syntax is and is not all= owed > or should we provide better exceptions when the go importer blows up? My $0.02: both would be best. Documenting the correct syntax instead of rel= ying on error messages for that information makes for a much nicer user exp= erience, as do better/clearer exceptions when a tool fails. Cheers, Kaelyn > > all best, > > jgart > > https://whereis.=E3=81=BF=E3=82=93=E3=81=AA/ > gemini://whereis.=E3=81=BF=E3=82=93=E3=81=AA/ > http://litterbox.whereis.=E3=81=BF=E3=82=93=E3=81=AA/