Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Stephen Gallagher:

> On Wed, Sep 7, 2022 at 1:36 PM Ewoud Kohl van Wijngaarden
> <ewoud+fedora@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
>> But what if $package a.b only supports node 16 and $package x.y only
>> supports node 20. Looking at /usr/lib/node_modules/npm/node_modules I
>> don't see any version numbers in directories so they can't be
>> coinstalled. Does it mean you drop the node 16 package once node 20 is
>> packaged? It will still be in the load path for node 16 so it could
>> accidentally load incompatible code.
>
> So, some of this is going to be resolved by policy. Currently, our
> official policy[1] on Node.js packages in Fedora allows packaging:
>
> * The interpreter, development headers/libraries, and the assorted
> tools to manage project-level installations. Examples: nodejs, npm,
> yarn
> * Packages that provide applications that users would want to use in
> their shell. Examples: uglify
>
> Note that we *expressly* do not list NPM "libraries". We only package
> applications. Further down on the guidelines page you will see that
> our packaging approach involves bundling the necessary dependencies
> into the application. This is in line with Node.js's own
> recommendations.

Ahh, this also explains why co-installable -devel packages are not
required in the buildroot.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux