From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6KTtFuruwl4RGgAA0tVLHw (envelope-from ) for ; Mon, 18 May 2020 20:24:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MIneEuruwl6AcAAAB5/wlQ (envelope-from ) for ; Mon, 18 May 2020 20:24:10 +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 CAA45940B6B for ; Mon, 18 May 2020 20:24:09 +0000 (UTC) Received: from localhost ([::1]:58010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jamIy-0007um-Hu for larch@yhetil.org; Mon, 18 May 2020 16:24:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jamH0-0005LN-Ck for help-guix@gnu.org; Mon, 18 May 2020 16:22:07 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:60548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jamGx-00067L-R9 for help-guix@gnu.org; Mon, 18 May 2020 16:22:05 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id feae23ce; Mon, 18 May 2020 20:21:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=yOCFNstOQP23x+Kf6hehqE0fZfi+CJG0AbYGHIT4PDg=; b=LITmUP36kpst /H18w3yrbGCCAoTttzIPAImK3UXHRnVHYgg4g2m+kbNUfM2AaWZZA1wf6lErcryU qdahsG3cWlBD91qnayb8y/6oAklpL5wFRc48WTeKmpEcKYyePZPINYQqdEuXOLIl XYGgKTeoX9va28G5aJKUvdvy/qvLRexAyKzx3MTuX5ul8R8bSV8TpPgtTDbuzKUp TSzxruESF9qPFAQtsIaSS/edGAXVffVljz+8kLQAFdZOFmXYM22YYWegGyOb8OL+ 5H2krlHpB+Yy7gDAfOF4fUJm67kuqAW1L69BDngQuiGqkh18PRhRFwUpdnnkj5QC nCSXg4tSzg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4cb15a9b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 18 May 2020 20:21:53 +0000 (UTC) Date: Mon, 18 May 2020 16:21:37 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Is there a NPM importer? To: help-guix@gnu.org,divoplade From: Julien Lepiller Message-ID: <9FA62817-5CEC-491F-9CFA-5DE0FF228834@lepiller.eu> Received-SPF: none client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=LITmUP36; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: 2LP2OgPrfHQ1 Le 18 mai 2020 15:00:26 GMT-04:00, divoplade a =C3=A9cri= t : >Hello Guix users :) > >Browsing through the web, I found a few discussions about an NPM >importer=2E > >Nov 2018: https://www=2Email-archive=2Ecom/guix-devel@gnu=2Eorg/msg44700= =2Ehtml > >Mar 2017:=20 >https://lists=2Egnu=2Eorg/archive/html/guix-devel/2017-03/msg00814=2Ehtml > >What is the status of this? When considering build-time dependencies, there are many cycles that makes= an importer almost impossible to create=2E There is some code that works (= at least it used to work) when you don't need a recursive import, but it wo= uld be useless because most packages require thousands of packages at build= time=2E I haven't been working on this since quite some time, and I don't think I'= m going to take that time soon=2E If anyone is interested, I still think we= need to build a backtracking startegy in our importer infrastructure (we c= ould have a constraint solver do the job, but we would need complete inform= ation about the npm repo=2E We can only look up package by package) and imp= ort a minimal path, taking version constraints into account=2E Basically, b= acktrack on loops=2E