GNU bug report logs -
#49228
guix import go fails when module does not have a documenation on pkg.go.dev
Previous Next
Full log
Message #25 received at 49228 <at> debbugs.gnu.org (full text, mbox):
Hi,
raingloom <raingloom <at> riseup.net> writes:
>> If you look at the page
>>
>> https://pkg.go.dev/github.com/caspr-io/yamlpath
>>
>> It has no Description, because the site cannot parse license
>> information correctly and thus conservatively does not display any
>> info.
>
> Could we use godocs.io? It's more copyleft friendly AFAIK.
> But that's just hearsay, I'm only getting into Go now, so idk much
> about the services surrouding it yet.
Right now the information from pkg.go.dev is used to populate the package's
* synopsis
* description, and
* license
sections.
As far as I can tell, godocs.io does not have any information about the
package's license... *eventually* we may want to consider writing a
license guesser of our own, as that could potentially be useful across
all of Guix.
As for description, godocs.io seems to collects description information
differently (inferiorly?) than pkg.go.dev. For example, compare:
https://godocs.io/github.com/mitchellh/go-homedir
https://pkg.go.dev/github.com/mitchellh/go-homedir
I wonder how complicated it would be to guess at a synopsis/description
ourselves? It may be worth asking the initial committers of the go
importer.
--
Sarah
This bug report was last modified 3 years and 325 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.