From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id R2OXAnyG3F/WbgAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 10:37:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mNyDOXuG3F/5bQAA1q6Kng (envelope-from ) for ; Fri, 18 Dec 2020 10:37:47 +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 810DD940366 for ; Fri, 18 Dec 2020 10:37:47 +0000 (UTC) Received: from localhost ([::1]:60008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqD8s-0005HX-DM for larch@yhetil.org; Fri, 18 Dec 2020 05:37:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqD4I-0008Cy-IB for guix-patches@gnu.org; Fri, 18 Dec 2020 05:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqD4I-0001ei-7z for guix-patches@gnu.org; Fri, 18 Dec 2020 05:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqD4I-0007BD-54 for guix-patches@gnu.org; Fri, 18 Dec 2020 05:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38769] [PATCH] import: Add importer for MELPA packages. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Dec 2020 10:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38769 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Carlo Zancanaro Received: via spool by 38769-submit@debbugs.gnu.org id=B38769.160828755327563 (code B ref 38769); Fri, 18 Dec 2020 10:33:02 +0000 Received: (at 38769) by debbugs.gnu.org; 18 Dec 2020 10:32:33 +0000 Received: from localhost ([127.0.0.1]:37778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqD3p-0007AU-43 for submit@debbugs.gnu.org; Fri, 18 Dec 2020 05:32:33 -0500 Received: from mira.cbaines.net ([212.71.252.8]:54336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqD3Y-0007A5-5W for 38769@debbugs.gnu.org; Fri, 18 Dec 2020 05:32:31 -0500 Received: from localhost (188.30.130.172.threembb.co.uk [188.30.130.172]) by mira.cbaines.net (Postfix) with ESMTPSA id 15FB427BC05; Fri, 18 Dec 2020 10:32:15 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d37895ba; Fri, 18 Dec 2020 10:32:12 +0000 (UTC) References: <87v9q1jjlf.fsf@zancanaro.id.au> <87r20bqco9.fsf@gnu.org> <874kum9xtv.fsf@zancanaro.id.au> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines In-reply-to: <874kum9xtv.fsf@zancanaro.id.au> Date: Fri, 18 Dec 2020 10:32:09 +0000 Message-ID: <87a6ub2ymu.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: , Cc: 38769@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 810DD940366 X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: rSKGokefYGVC --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Carlo Zancanaro writes: > Hey Brett! > > It's been a while, but I've finally found time to revisit this > patch. > > On Wed, Jan 08 2020, Brett Gilio wrote: >> ... we /should/ combine this with the ELPA importer in its >> current tradition: `guix import elpa -a melpa`. That seems >> preferable to me, as it would avoid the need to deprecate a >> command flag in our UX. > > I've done this. I've had a go at trying this out, I tried importing ack from elpa and a from melpa, and it seemed to work OK. The packages built at least, and the outputs look reasonable. Looking at the code, elpa-package->sexp is a little awkward, the code would probably be clearer if the (or ...) bits in the package sexp were moved out in to functions that deal with generating that part of the package. It seems to work though, so I'm happy to push this. Is this patch still relevant? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl/chSlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdPiA//fHvV/A3MrQYIUuoQFee4vT6RfocLTcrV rW3wxSDHQ8JaEtOc5l4kWrTe8od4+j2Pe+Z/K5I52aRBu8SurbC34dnCIwhbIABv WD551bSjE3G3eXiy1wGb9nAkLMl7KtDi5umEpCwq/SK+1lWOonKQM0I9bTNKwNUq IG7yXYA9ou7utfdoAo2cqY5CRf1sIryjzfKoYYcdtYYTXQGSJwhNC0SbHW955nMu YRWUgkTgdxcDIfCagDWKjkC7PyKq/SUeWmDK/VRzzgpecKdWHDjWfFLFVR+gmgpR /WWOluZdzRhV0HRgfoxeq1odYv5s0eLx8ui/04YJJ588gZ+6+ZyiECcVJUy2abhy bx9ysS1I/U3z45v8vX6D1m9K6HI5Cvmg2AE/XhtnoUoCK8Cb+HxSZRYaNJlfOo13 5swwmUw5cAZhvm0TBUS5q/OOeVcMhXjBgc5s/JaTZ3Bs2TrgRBDFMKAvcS6/49cw Pz2B5EqOInX0JvOvQWRLOuARRDJxD4PS7Ymzq25xZrJ9J+C+fWQwcQ0zLQvaweBr ybDJ6Hzlc2QAP1LBRV4cLdifPAEYVlbjUe0ntC6T9sYNca1ivU/nm0pcORLjg1xC ReX0QUzUbxqoH2Sf4vsZtdCzN6X4iMKldC/fCCWWD2yFsdA6miraDQiFfnVmaAbi +3VY51hRPNc= =9SjF -----END PGP SIGNATURE----- --=-=-=--