unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart <jgart@dismail.de>
To: Guix Devel <guix-devel@gnu.org>
Subject: go importer documentation/exceptions
Date: Sat, 23 Apr 2022 12:51:10 -0400	[thread overview]
Message-ID: <20220423125110.GB9845@gac.attlocal.net> (raw)

Hi Guixers,

Here's my experience of learning the right syntax for the go importer:

2022-04-23 16:27:42	<jgart>	guix import go https://git.sr.ht/~emersion/chathistorysync@0.1.0
2022-04-23 16:27:53	<jgart>	guix import go https://git.sr.ht/~emersion/chathistorysync@latest
2022-04-23 16:27:58	<jgart>	I tried that too
2022-04-23 16:28:00	<jgart>	and
2022-04-23 16:28:09	<jgart>	guix import go https://git.sr.ht/~emersion/chathistorysync@v0.1.0
2022-04-23 16:28:28	<jgart>	singpolyma: is this related to the issue you have open?
2022-04-23 16:29:41	<singpolyma>	Do you get an error about a tag being missing?
2022-04-23 16:31:32	<jgart>	here's the exact errors for all three attempts: https://paste.sr.ht/~whereiseveryone/dae9350b5680a3960e0e56c6b7c5da5660d3b8a6
2022-04-23 16:32:29	<jgart>	looks like a 410: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410
2022-04-23 16:33:26	<jgart>	guix import go git.sr.ht/~emersion/chathistorysync@0.1.0
2022-04-23 16:33:30	<jgart>	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 allowed
or should we provide better exceptions when the go importer blows up?

all best,

jgart

https://whereis.みんな/
gemini://whereis.みんな/
http://litterbox.whereis.みんな/


             reply	other threads:[~2022-04-23 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-23 16:51 jgart [this message]
2022-04-25 17:28 ` go importer documentation/exceptions Kaelyn
2022-04-26 10:57 ` Katherine Cox-Buday

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220423125110.GB9845@gac.attlocal.net \
    --to=jgart@dismail.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).