On Tue, Aug 5, 2025 at 9:41 AM Andrei Radchenko <aradc...@redhat.com> wrote:
>
> Hello,
>
> As a part of the big nodejs packaging overhaul [0][1][2], and exhausting all 
> other 'alternatives' solutions, current idea is having separate streams e.g. 
> nodejs22 nodejs24 etc, with their corresponding swappable -bin packages 
> pointing to versioned binaries. Additionally, to have a meta-package that 
> will just pull the latest bestest nodejs that we decide on.
>
> 1. As a user I want to choose which nodejs I am running (dnf install nodejs22)
> 2. As a user I want Fedora developers to choose best nodejs for me (dnf 
> install nodejs)
>
> So what would be the steps to unretire nodejs[1], and have it as a 
> meta-package?

It needs a new package review, as it has been retired for a long time.
*Strictly* speaking, there's no need to resurrect the `nodejs` source
RPM. You could just have whichever `nodejsXX` package will be the
default offer an unversioned `nodejs` subpackage. Or even just a
virtual `Provides: nodejs = %{epoch}%{version}-%{release}`.

Also be aware that you'll need to figure out what to do about `npm`
and other tools that are bundled with the interpreter. They might need
their own subpackages.

I'm curious why you're back-tracking here, though. I thought the
entire point of the other Changes was that you did *not* want to have
an opinionated `nodejs` package. The solution you're coming up with is
starting to asymptotically approach the solution you are replacing.


> And what do you think about the idea?

I assume this is part of the solution to my question: "What happens
upon upgrade between Fedora releases?"

I guess `nodejs` package would carry the latest even-numbered
(destined for LTS) release available at the time of Fedora release.
(Given the Node.js release cycle, this doesn't line up perfectly, as
even-numbered Fedora Betas are in February, where Node.js releases
two-to-four weeks after our GA. So presumably we'd expect to ship v24
(released in May) as the default Node.js in F43 and F44 and then v26
in Fedora 45 and 46 (and so on). Those Node.js versions would still
turn up as non-default options in one prior Fedora release. Do I have
that correct?

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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

Reply via email to