From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iG8BIDYXcWKrUwAAbAwnHQ (envelope-from ) for ; Tue, 03 May 2022 13:51:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UCQcHzYXcWIASAAAG6o9tA (envelope-from ) for ; Tue, 03 May 2022 13:51:18 +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 2BC123F341 for ; Tue, 3 May 2022 13:51:18 +0200 (CEST) Received: from localhost ([::1]:48878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlr3l-0006Mz-Bb for larch@yhetil.org; Tue, 03 May 2022 07:51:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlqwn-0003gi-Ih for guix-patches@gnu.org; Tue, 03 May 2022 07:44:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlqwn-0002S3-AX for guix-patches@gnu.org; Tue, 03 May 2022 07:44:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlqwn-0005Qg-8O for guix-patches@gnu.org; Tue, 03 May 2022 07:44:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55242] [PATCH 09/10] guix: import: go: module-name -> module-path to be consistent Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 May 2022 11:44:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55242@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 55242-submit@debbugs.gnu.org id=B55242.165157821820776 (code B ref 55242); Tue, 03 May 2022 11:44:05 +0000 Received: (at 55242) by debbugs.gnu.org; 3 May 2022 11:43:38 +0000 Received: from localhost ([127.0.0.1]:38835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqwM-0005P0-Fn for submit@debbugs.gnu.org; Tue, 03 May 2022 07:43:38 -0400 Received: from mail-ed1-f48.google.com ([209.85.208.48]:43605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqwH-0005NF-25 for 55242@debbugs.gnu.org; Tue, 03 May 2022 07:43:33 -0400 Received: by mail-ed1-f48.google.com with SMTP id b24so19525458edu.10 for <55242@debbugs.gnu.org>; Tue, 03 May 2022 04:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=igWptIFJy8qnLiiMWFq7RA75L0EcJyyF4H3IxTcrB8g=; b=eniw7W0cXKORDKTrW10vW965ouCXrnlkTUNFn62/ZlGsWMW2o7HAFSHiKC+EHyyQRO eEfeViZf1v1/MTz0xG5l5Jd9+CEbBX1yC3trTFrTQUOFiUgFn+pVbI2IxJK9G1uunjdf tvoEkEgOxTYSqIUbtTx0AAmHQQ03FKQ4vjoQnyYmrNREHsKv8IEtg5SyR1rdgNf1b/1Y +NsedrRhd66an3jr0W9sBUbv/bROe+4vRj4p9SkXSTvE6EnRJr1KTCSdppoK8TkbnbTe gK7sBqZdFl0SAuxut9yj9yovOqaaAHCwRlXGW8Lt6zGFfDWOn+Vvw+gXZAuuJq4ZqUK9 f+uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=igWptIFJy8qnLiiMWFq7RA75L0EcJyyF4H3IxTcrB8g=; b=59so+3D7jKHpTtiLS3Cb9rYaHrjj6unwmcLZC4a82+nUXf+WjS8/Ynma3+wjKpUvWk iFRt9ZeoNzM5WqKefeh+fT+WEsn14f5A9fIobYblUN5e4TVaGFzDgQZ7nL3LAkukXWro TEq3VNZFR5a3CMKOHZMKdSn1LjS6mfALlxkkzqSS+RZwj8F9HY5Lz+X+ufSC8xdBgv4+ wR4aufktkHcjWAZEGiW1pJX2IUVRgbKQCQD4J0MZ2UNRDXs+uEzrfq6HCrkSj1Y6plhy qVxCzDph+PSvybYC+GegI8abq8aApXBfoa9fEKPU7U/NQhTmKxwjibgi3O4SbWuiQKc5 Q/lA== X-Gm-Message-State: AOAM5338QgaZcl3z1BX8pUUFHEpMVfGEpINHOYF0MyWMKTpp3A3Sdbtp UsAXIW86iC/pNg1HYAq0Y1HC575/9nw= X-Google-Smtp-Source: ABdhPJyipntZ6Y3xE5HRKuZ1GAlpxeKZFwyCost1lqn2bwRxLUvC1VNYTqmCA0zDLBcHU/BAlH/Vjg== X-Received: by 2002:aa7:da08:0:b0:425:af3c:196a with SMTP id r8-20020aa7da08000000b00425af3c196amr17556627eds.69.1651578207493; Tue, 03 May 2022 04:43:27 -0700 (PDT) Received: from lelap.local (catv-89-132-245-188.catv.fixed.vodafone.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id k13-20020a05640212cd00b0042617ba63d6sm7766964edx.96.2022.05.03.04.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 04:43:26 -0700 (PDT) From: Attila Lendvai Date: Tue, 3 May 2022 13:43:00 +0200 Message-Id: <20220503114301.9524-9-attila@lendvai.name> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220503114301.9524-2-attila@lendvai.name> References: <20220503114301.9524-2-attila@lendvai.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1651578678; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=igWptIFJy8qnLiiMWFq7RA75L0EcJyyF4H3IxTcrB8g=; b=OZH/q8zXBkk/I+yfpEJMIOpQAQS1/YuYvZfeh0gXH1nnAWPP8gBesBO5rXwVzOAgoWlb/U 3zFJ83ylU6D/hfaC4e3zSYKXD32loWKdmrMCvUDvM30cFjINRn/I0ie797e3ipfrzIhJbF UsdwCutlLYQ7edU4wqxFfb/3D0yRLrLzlC9Fhkk8C0togceCL7maa1z+4wbaNkFYTtYSF8 3SBf9l4kO6t6Dq3+9klDiU1OheneFn/ZiNxuHf3w5i9o+SaW2gpHIuYozV6IRtBep0PTD0 6XABHw/8MgzGNRxw+63vHjJcC5c/UiLvo+mDRY47BnI0+6BOAggip/BHydRaVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651578678; a=rsa-sha256; cv=none; b=aCOoVqaayPUBQEljmvp1MlNQBrXu/N+mKerabC+dEn+6SIZJUFjvjI5FrNiokwOPZRN/s9 NN7lG5xVhwDXkg+/UWLawwfxzZK9bGdol5D7whySusLeiT3z4bnpn3tR1Z34cROMa0xIe6 idP+lj4LsHEQ9HUrkVt3Dw3sOoKLebx7CjZ0vmbZISAsxGIO81ECp4ZHVhsKAWfutrgPUb ZvH1IACQyvk+Ze3uvJBiHj1LQZ2I24DAWehHFDfkv/CsytNuJXhRZ7O06gDHBVbRD+ghBF Hqs0CMOonsnvqMJyTwHLGFM2LhaSSQx62Bf7IiwBa9YcpIneVBnN+YLk/YddhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eniw7W0c; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eniw7W0c; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2BC123F341 X-Spam-Score: 1.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: aGMxRhTvGXxC * guix/import/go.scm (go-package-description): Renamed first parameter. --- guix/import/go.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guix/import/go.scm b/guix/import/go.scm index ce6463cc51..25d424c1ac 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -340,14 +340,14 @@ (define (go-package-description name) ((p elements ...) (apply string-append (filter string? (map sxml->texi elements))))))) -(define (go-package-synopsis module-name) - "Retrieve a short synopsis for a Go module named MODULE-NAME, +(define (go-package-synopsis module-path) + "Retrieve a short synopsis for a Go module named MODULE-PATH, e.g. \"google.golang.org/protobuf\". The data is scraped from the https://pkg.go.dev/ web site." ;; Note: Only the *module* (rather than package) page has the README title ;; used as a synopsis on the https://pkg.go.dev web site. - (log.debug "Getting synopsis for ~S" module-name) - (let* ((body (pkg.go.dev-info module-name)) + (log.debug "Getting synopsis for ~S" module-path) + (let* ((body (pkg.go.dev-info module-path)) ;; Extract the text contained in a h2 child node of any ;; element marked with a "License" class attribute. (select-title (sxpath -- 2.35.1