From: Philip McGrath <philip@philipmcgrath.com>
To: pinoaffe <pinoaffe@airmail.cc>, "Jelle Licht" <jlicht@fsfe.org>,
"Ludovic Courtès" <ludo@gnu.org>,
"Christine Lemmer-Webber" <cwebber@dustycloud.org>
Cc: guix-devel@gnu.org
Subject: Re: Merging the “binary” NPM importer?
Date: Sun, 26 Sep 2021 18:32:58 -0400 [thread overview]
Message-ID: <4eb892ad-9c28-290b-1773-e8e3725faac3@philipmcgrath.com> (raw)
In-Reply-To: <87bl4fdnr2.fsf@airmail.cc>
Hi,
I've been using the NPM binary importer recently, and I'm also in favor
of merging it. Aside from helping me get practical work done, it's also
pointed me toward things in the Node package and node-build-system that
may need to be tweaked (e.g. https://issues.guix.gnu.org/49946#71). So,
like Christine, I hope that letting people use Guix to work on Node/NPM
stuff would ultimately help the cause of making NPM packages work in
Guix the right way.
On 9/26/21 5:34 PM, pinoaffe wrote:
> Jelle Licht writes:
>> Could you perhaps list some additional blockers? We can always refine
>> and improve on an acceptable upstreamed version, since it will be a
>> once-and-done tool instead of some stable API.
>
> I think one would also need to deal with the fact that a recursive
> import is likely to include several versions of the same package,
This did seem to happen with a large package I imported, but the
multiple versions coexisting seemed to work ok. Ultimately, Guix will
somehow need to deal with the messy versioning of the NPM world, and it
would be nice to keep the duplication to a minimum, but that seems like
it might be a challenge. Since the recursive imports do currently work,
I don't think it needs to be a blocker.
> and I think rebasing might end up requiring a bit of rewriting since it
> appears to me that some of the interfaces used in the guix-npm-binary
> importer have changed since it was written
Here's the version I've been using, rebased on August 3:
<https://gitlab.com/philip1/guix-patches/-/commit/7b8732bbfcacd52b2ea823358cff842a891b51b2>
One issue I did notice is that the export `package-json->guix-package`
seems to be undefined.
-Philip
next prev parent reply other threads:[~2021-09-26 23:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-19 13:01 Adding extra package importers pinoaffe
2021-09-19 14:44 ` Maxime Devos
2021-09-23 20:28 ` Merging the “binary” NPM importer? Ludovic Courtès
2021-09-23 23:13 ` pinoaffe
2021-09-26 13:37 ` Jelle Licht
2021-09-26 21:34 ` pinoaffe
2021-09-26 22:32 ` Philip McGrath [this message]
2021-09-27 8:57 ` pinoaffe
2021-09-27 15:13 ` Katherine Cox-Buday
2021-09-28 12:37 ` Ludovic Courtès
2021-09-25 3:17 ` Christine Lemmer-Webber
2021-10-08 1:51 ` Maxim Cournoyer
2021-10-08 14:16 ` Katherine Cox-Buday
2021-10-11 10:13 ` zimoun
2021-10-11 17:12 ` pinoaffe
2021-10-12 18:21 ` Timothy Sample
2021-10-14 1:26 ` Maxim Cournoyer
2021-10-14 13:58 ` Ludovic Courtès
2021-10-14 14:54 ` Opining on "modern" development practices (was Re: Merging the “binary” NPM importer?) Katherine Cox-Buday
2021-10-21 19:39 ` Ludovic Courtès
2021-10-28 15:01 ` Katherine Cox-Buday
2021-10-29 12:33 ` Ludovic Courtès
2021-10-29 14:54 ` Katherine Cox-Buday
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4eb892ad-9c28-290b-1773-e8e3725faac3@philipmcgrath.com \
--to=philip@philipmcgrath.com \
--cc=cwebber@dustycloud.org \
--cc=guix-devel@gnu.org \
--cc=jlicht@fsfe.org \
--cc=ludo@gnu.org \
--cc=pinoaffe@airmail.cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).