On Wed, 7 Sept 2022 at 12:55, Vít Ondruch <vondruch@redhat.com> wrote:

Dne 06. 09. 22 v 20:28 Ben Cotton napsal(a):
> https://fedoraproject.org/wiki/Changes/NodejsRepackaging
>
> This document represents a proposed Change. As part of the Changes
> process, proposals are publicly announced in order to receive
> community feedback. This proposal will only be implemented if approved
> by the Fedora Engineering Steering Committee.
>
> == Summary ==
> We are reworking the Node.js packaging to make Node.js versions
> available as parallel-installable packages.
>
> == Owner ==
> * Name: [[User:SGallagh| Stephen Gallagher]]
> * Email: sgallagh@redhat.com
>
>
> == Detailed Description ==
> We will be creating the packages nodejs-16, nodejs-18 and (in April)
> nodejs-20. These packages will be parallel-installable (with the
> exception of the -devel subpackages) and provide
> `/usr/bin/node-$MAJOR`. We will also take advantage of the
> `alternatives` subsystem to populate `/usr/bin/node` from the default
> Node.js version for that release, or if the default is not installed,
> the highest currently-installed version.
>
> Notes:
>
> * The default in Fedora 38 will be Node.js 18. If a user was to
> install Node.js 16 and Node.js 20, but not Node.js 18, then Node.js 20
> would provide `/usr/bin/node`
> * The policy going forward will be to have the most recently-released
> version of Node.js at the time of Fedora's expected Beta release date
> be the default for that release throughout its lifetime.


Is there going to be `nodejs` nonversioned package? I hope it will. The
version numbers are annoying.


Going from the various "why has node blown up" threads in the past is that trying has failed multiple times. Too many API changes and other items saying they worked before but do not afterwards. 
 
Also, it seems that you assume that nodejs- packages will work just fine
with different versions of Node.js, then what is the point of having
multiple versions of Node.js around? Why not have just latest?


Vít

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


--
Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle. -- Ian MacClaren