unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* go importer documentation/exceptions
@ 2022-04-23 16:51 jgart
  2022-04-25 17:28 ` Kaelyn
  2022-04-26 10:57 ` Katherine Cox-Buday
  0 siblings, 2 replies; 3+ messages in thread
From: jgart @ 2022-04-23 16:51 UTC (permalink / raw)
  To: Guix Devel

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.みんな/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-26 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-23 16:51 go importer documentation/exceptions jgart
2022-04-25 17:28 ` Kaelyn
2022-04-26 10:57 ` Katherine Cox-Buday

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).