[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Merging the “binary” NPM importer?
From: |
pinoaffe |
Subject: |
Re: Merging the “binary” NPM importer? |
Date: |
Mon, 11 Oct 2021 19:12:32 +0200 |
User-agent: |
mu4e 1.4.15; emacs 27.2 |
Hi,
zimoun writes:
> Instead of a strong inclusion, one could imagine this importer as a
> regular package using GUIX_EXTENSION_PATH. For instance, it could be:
>
> guix install guix-import-npm
>
> then something like:
>
> guix import-npm <options>
>
> This just works, modulo some polishing and doc. :-) For an example,
> see the package gwl. An example using another strategy is using a
> channel, for instance
> <https://framagit.org/tyreunom/guix-home-manager>.
>
> I have not checked if this "extension" system could work for
> subcommands as the importers, i.e., having something like:
>
> guix import npm
>
> where this 'npm' would not be part of Guix proper (not in
> guix/import/) but instead would be a package extending Guix.
This would currently not work, but I've submitted a patch that would
make it work (with some performance concerns), and I think it should be
possible to resolve or at least significantly lessen those concerns.
However, I think inclusion in guix proper would encourage usage and make
maintenance easier (since maintaining two tightly coupled but separate
codebases is more work than maintaining a single codebase with the same
functionality)
While I would not be opposed to a package- or channel-based approach
(I initially set out to make a guix-npm-binary channel afterall),
merging it into guix-proper would definitely have my preference.
Kind regards,
pinoaffe
- Re: Merging the “binary” NPM importer?, Maxim Cournoyer, 2021/10/07
- Re: Merging the “binary” NPM importer?, Katherine Cox-Buday, 2021/10/08
- Re: Merging the “binary” NPM importer?, Timothy Sample, 2021/10/12
- Re: Merging the “binary” NPM importer?, Maxim Cournoyer, 2021/10/13
- Re: Merging the “binary” NPM importer?, Ludovic Courtès, 2021/10/14
- Opining on "modern" development practices (was Re: Merging the “binary” NPM importer?), Katherine Cox-Buday, 2021/10/14
- Re: Opining on "modern" development practices (was Re: Merging the “binary” NPM importer?), Ludovic Courtès, 2021/10/21
- Re: Opining on "modern" development practices (was Re: Merging the “binary” NPM importer?), Katherine Cox-Buday, 2021/10/28
- Re: Opining on "modern" development practices (was Re: Merging the “binary” NPM importer?), Ludovic Courtès, 2021/10/29
- Re: Opining on "modern" development practices (was Re: Merging the “binary” NPM importer?), Katherine Cox-Buday, 2021/10/29