From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id M6BQAd1C3WCIxQAAgWs5BA (envelope-from ) for ; Thu, 01 Jul 2021 06:21:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SPsQONxC3WAUegAAB5/wlQ (envelope-from ) for ; Thu, 01 Jul 2021 04:21:48 +0000 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 E74AB21416 for ; Thu, 1 Jul 2021 06:21:47 +0200 (CEST) Received: from localhost ([::1]:39014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyoCv-0003Xq-PZ for larch@yhetil.org; Thu, 01 Jul 2021 00:21:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyoAI-0005Wu-JD for bug-guix@gnu.org; Thu, 01 Jul 2021 00:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyoAI-0004pK-AL for bug-guix@gnu.org; Thu, 01 Jul 2021 00:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyoAI-0003fP-59 for bug-guix@gnu.org; Thu, 01 Jul 2021 00:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49228: guix import go fails when module does not have a documenation on pkg.go.dev Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Jul 2021 04:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49228 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom Cc: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= , 49228@debbugs.gnu.org Received: via spool by 49228-submit@debbugs.gnu.org id=B49228.162511309614031 (code B ref 49228); Thu, 01 Jul 2021 04:19:02 +0000 Received: (at 49228) by debbugs.gnu.org; 1 Jul 2021 04:18:16 +0000 Received: from localhost ([127.0.0.1]:59267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyo9Y-0003eE-JM for submit@debbugs.gnu.org; Thu, 01 Jul 2021 00:18:16 -0400 Received: from out1.migadu.com ([91.121.223.63]:53756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyo9V-0003e4-Iy for 49228@debbugs.gnu.org; Thu, 01 Jul 2021 00:18:15 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1625113091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=STAxlQbQg7speeUnGc8vHfWPLExvsR4s+Lnyx2tuIPQ=; b=fDTZBOATNjOcYbeWXmhjqalGOlijQM8Gla84q+M2D6Qaxm20LZGMsRbZPXrPo+hAhQkYdO HzThCDeSy7Dk7j6RMk9x2+bFXrzBx2Pskob7Vy4vIYoxrkDQJ4AI/M715C00Pd0QclZoOV 87Bd2KjsF6VcaDN4lvGLFi8L5K8mevU= References: <20210626003047.4eb8c995@alma-ubu.fritz.box> <20210630232005.103a5472@riseup.net> Date: Wed, 30 Jun 2021 21:18:09 -0700 In-Reply-To: <20210630232005.103a5472@riseup.net> (raingloom@riseup.net's message of "Wed, 30 Jun 2021 23:20:05 +0200") Message-ID: <86fswy7jlq.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: iskarian@mgsn.dev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Sarah Morgensen From: Sarah Morgensen via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625113308; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=STAxlQbQg7speeUnGc8vHfWPLExvsR4s+Lnyx2tuIPQ=; b=YuXLHPklmopvHDO0dcfXqg+YkglvMJp19AxD3g0dsbfv6jdW/zMqGsMFJKAyp1KD/WgRvP CDLzSFmGsWlBLgjpRDaMHkXhac8PldRwf1fI5ZD453p+F1HoavEcMnsXy5mN+BnXrdyZQt sjDTDwW9VGYWgq2hSVYScPFUtQXMyP45p+LK/fhnW2jhFZuUEyWMnHddO0EQagaWfQVlP8 KWeCxG7K2M4zQZKBnyqwSNCqsmggCBqZBDGNQN+omnP5XKJq2IU5Zw4gFJ2Ns79+E5os1R UQZfHFqEtOA5gPqYR0cf6ldXGx4QjDMPPgf71zeEbFud+DGTcVU6mIz+tL5oag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625113308; a=rsa-sha256; cv=none; b=Iyeml0XpXzQ3CRHcwtvqy6B6LD7/YtZMaME1JiC+N8LjPpLi/K36KPkq/+37WThO3NBxkK yHLbjXolCErpCgxPI7YrYNL3i+45xccdZqNI+JlTOsRDoXunnIsNWUI3OhXcLplzl2d8oS gdsbckixiP+wUXKY4kFquU2XGS4quWk4gA/JANq8VxmvP/QbyV5PL5zYfkqo/MVXO5py4x rrUuJ3T9yYrdhEjKtg/0uVL+E9bS06SHzJilkq+7HhqKE02z7zO1Np9RDzpGXmAsNwdfcp j8oiXRhlyw8Jn22eLw4Ka/LYEt1SPjAt+LAd6ns4rP3Gmg4rHABQMMbtpnNmLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=fDTZBOAT; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=fDTZBOAT; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: E74AB21416 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: aNLDObcjp36T Hi, raingloom 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