From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +K7KLocDSWD8fwAA0tVLHw (envelope-from ) for ; Wed, 10 Mar 2021 17:36:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oFSuKocDSWBfQAAA1q6Kng (envelope-from ) for ; Wed, 10 Mar 2021 17:36:07 +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 1545B18808 for ; Wed, 10 Mar 2021 18:36:07 +0100 (CET) Received: from localhost ([::1]:43706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK2kf-00019O-Pm for larch@yhetil.org; Wed, 10 Mar 2021 12:36:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK2PK-0005h5-Jo for guix-patches@gnu.org; Wed, 10 Mar 2021 12:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lK2PK-0003JW-CV for guix-patches@gnu.org; Wed, 10 Mar 2021 12:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lK2PK-0002lR-8y for guix-patches@gnu.org; Wed, 10 Mar 2021 12:14:02 -0500 Subject: bug#44178: Add a Go Module Importer Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 10 Mar 2021 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: JOULAUD =?UTF-8?Q?Fran=C3=A7ois?= Cc: Katherine Cox-Buday , "44178@debbugs.gnu.org" <44178-done@debbugs.gnu.org>, Maxim Cournoyer Mail-Followup-To: 44178@debbugs.gnu.org, ludo@gnu.org, cox.katherine.e@gmail.com Received: via spool by 44178-done@debbugs.gnu.org id=D44178.161539638610539 (code D ref 44178); Wed, 10 Mar 2021 17:14:02 +0000 Received: (at 44178-done) by debbugs.gnu.org; 10 Mar 2021 17:13:06 +0000 Received: from localhost ([127.0.0.1]:51763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK2OQ-0002jv-Ca for submit@debbugs.gnu.org; Wed, 10 Mar 2021 12:13:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK2OO-0002jR-Tb for 44178-done@debbugs.gnu.org; Wed, 10 Mar 2021 12:13:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38346) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK2OI-0002lg-Uj; Wed, 10 Mar 2021 12:12:58 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49394 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lK2OD-0003Ut-O5; Wed, 10 Mar 2021 12:12:57 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87sga5kpdp.fsf@gmail.com> <20210219161737.4l266imcd24gqxwn@fjo-extia-HPdeb.example.avalenn.eu> <871rcxte52.fsf_-_@gnu.org> <20210308135025.vn32lypnivpsilcg@fjo-extia-HPdeb.example.avalenn.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 10 Mar 2021 18:12:49 +0100 In-Reply-To: <20210308135025.vn32lypnivpsilcg@fjo-extia-HPdeb.example.avalenn.eu> ("JOULAUD =?UTF-8?Q?Fran=C3=A7ois?="'s message of "Mon, 8 Mar 2021 13:54:04 +0000") Message-ID: <87tupj0w6m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615397767; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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; bh=ClsHMQaRl7tiPs2LfPs60scsodPchwf2uDPNONSNUHU=; b=N+e9kBCdrGPlDPgiX5qX17wtBrQVpEHIS3wymk9LMW0XA/+lylWS4vf6Q3/5fe9kZ7L+xF kkS+Md5hKQHz8Vju0ZPnzOGKaiBdk1xJkLqqH/KQ3wCNZMfLon0YMom+E1oD9XmJfbLr1Q FEER9CrMeISFSCTSZYW4JWU22eo9kdPSZC3LDCpz+GZ6EzIV11oypKwDwI6wHamGgK8w9Z vqPWK8nqv2uFvfDeM1ZGeT9aT+t24t4QQi/Um8pfbycXUBzzes0gPn/WIrMZB+tLCtOoTi fH2l64r6iT4gHDgFVa0/RXRiBUagxrMFrYto8duqpPGxlQ3s6IetsMriooj11Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615397767; a=rsa-sha256; cv=none; b=BTevVQgisNwtuLf23sfGSoz9OGOZlu9LKdl8IqRpFbdvSEJPh/5COSwO2/C5oBtUOYihGc /jtc9jndUKK1yGsc1gutpLz4BKY5/uN7KCR21ZY1GTmz3deV7i8OCwnrsZkkB5V9aXr445 gcViPJh32LASUPGjsJnoo9uEwOcuxc301XA+3qafK39HMhX9w9ia6sTSosc/Ic4KuLS0eb 6a5duhqzJ7Gjvxq0wTkFZkUb3cehJgoZr4cmUgDfPwCdn+f8LLCknQ6IUSq/TvkbxyyMUy Tq8lWiifBP1FsUBznn+qDaI1bgnYAaqdC9iYGcf7Z4eb9L0liqmeymhCzCbUug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1545B18808 X-Spam-Score: -1.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: oN52Z5PqFuiS Hi Fran=C3=A7ois, Katherine, & all! I=E2=80=99m happy to say that it=E2=80=99s finally pushed, on behalf of Kat= herine and the rest of you! https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D02e2e093e858e8a0c= a7bd66c1f1f6fd0a1705edb I had to make a number of changes, among which (off the top of my head): =E2=80=A2 Add files to Makefile.am. One can now run: make check TESTS=3Dtests/go.scm See . =E2=80=A2 Update =E2=80=98specification->package=E2=80=99 in (guix self). =E2=80=A2 Fix version handling in the generated sexp (thanks Maxim for he= lping out on IRC!). =E2=80=A2 Fix the generated =E2=80=98license=E2=80=99 field. =E2=80=A2 Fix minor issues reported by compiler warnings. =E2=80=A2 Compute the hash of Git checkouts (done in a followup commit) s= ince that=E2=80=99s part of the minimum one expects from importers. =E2=80=A2 Recode (guix import go) as UTF-8 rather than Latin-1. =E2=80=A2 Move commentary below =E2=80=98define-module=E2=80=99 form. Let me know if I broke anything on the way or if anything=E2=80=99s unclear! Now, you=E2=80=99ve already identified things that could be improved, so fe= el free to send focused patches addressing specific issues. Thanks everyone for the great team work! :-) Ludo=E2=80=99.