Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-12-12 Thread Stephen Gallagher
On Mon, Dec 12, 2022 at 3:35 PM Fabio Valentini wrote: > > On Mon, Dec 12, 2022 at 9:20 PM Stephen Gallagher wrote: > > > > On Thu, Dec 1, 2022 at 3:16 PM Stephen Gallagher > > wrote: > > > > > > I have now submitted > > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2150093 and > > >

Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-12-12 Thread Fabio Valentini
On Mon, Dec 12, 2022 at 9:20 PM Stephen Gallagher wrote: > > On Thu, Dec 1, 2022 at 3:16 PM Stephen Gallagher wrote: > > > > I have now submitted > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2150093 and > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2150094 for the > >

Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-12-12 Thread Stephen Gallagher
On Thu, Dec 1, 2022 at 3:16 PM Stephen Gallagher wrote: > > I have now submitted > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2150093 and > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2150094 for the > `nodejs16` and `nodejs18` packages for Fedora. > > You can test them with

Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-12-01 Thread Stephen Gallagher
I have now submitted https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2150093 and https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2150094 for the `nodejs16` and `nodejs18` packages for Fedora. You can test them with `dnf copr enable sgallagh/nodejs-alternatives`. The final approach I

Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-10-11 Thread Brad Smith
I have not used nodejs for development in quite a while so cannot respond from an involved user perspective. Given that context, I concur with Dan's reasoning and choices. On a more meta note, Fedora has at least 3 mechanisms to provide multiple versions of some component for a given release -

Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-10-11 Thread Fabio Valentini
Mon, Oct 10, 2022 at 9:04 AM Zbigniew Jędrzejewski-Szmek wrote: > > On Sun, Oct 09, 2022 at 10:58:58PM +0200, Dan Čermák wrote: > > > There's another potential upgrade issue: We have multiple choices of > > > how to upgrade from the nodejs package to the nodejsXX packages: > > > 1) Upgrading from

Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-10-10 Thread Vít Ondruch
Dne 07. 10. 22 v 20:54 Stephen Gallagher napsal(a): On Tue, Sep 6, 2022 at 2:29 PM Ben Cotton wrote: 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

Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-10-10 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Oct 09, 2022 at 10:58:58PM +0200, Dan Čermák wrote: > Hi Stephen, > > Stephen Gallagher writes: > > > On Tue, Sep 6, 2022 at 2:29 PM Ben Cotton wrote: > > > *snip* > > > When a Node.js release goes out of support, we have a question to > > answer: do we Obsolete it with a newer

Re: [INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-10-09 Thread Dan Čermák
Hi Stephen, Stephen Gallagher writes: > On Tue, Sep 6, 2022 at 2:29 PM Ben Cotton wrote: > *snip* > When a Node.js release goes out of support, we have a question to > answer: do we Obsolete it with a newer version? If so, which one? The > most recent version or the oldest one? It will not

[INPUT REQUESTED] Re: F38 proposal: Node.js Repackaging (Self-Contained Change proposal)

2022-10-07 Thread Stephen Gallagher
On Tue, Sep 6, 2022 at 2:29 PM Ben Cotton wrote: > > 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

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

2022-09-22 Thread Stephen Gallagher
On Wed, Sep 21, 2022 at 7:00 AM Jens-Ulrik Petersen wrote: > > On Fri, Sep 16, 2022 at 1:14 AM Stephen Gallagher wrote: >> >> As I'm implementing this, I'm realizing that it probably only makes >> sense to have the default version of Node.js on each Fedora release >> provide the

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

2022-09-21 Thread Jens-Ulrik Petersen
On Fri, Sep 16, 2022 at 1:14 AM Stephen Gallagher wrote: > As I'm implementing this, I'm realizing that it probably only makes > sense to have the default version of Node.js on each Fedora release > provide the unversioned-command. Otherwise it becomes really hard to > ensure that the RPM macros

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

2022-09-15 Thread Miro Hrončok
On 15. 09. 22 19:14, Stephen Gallagher wrote: As I'm implementing this, I'm realizing that it probably only makes sense to have the default version of Node.js on each Fedora release provide the unversioned-command. Otherwise it becomes really hard to ensure that the RPM macros like

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

2022-09-15 Thread Stephen Gallagher
As I'm implementing this, I'm realizing that it probably only makes sense to have the default version of Node.js on each Fedora release provide the unversioned-command. Otherwise it becomes really hard to ensure that the RPM macros like %{nodejs_sitelib} refer to the correct location. So I think

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

2022-09-14 Thread Stephen Gallagher
I've updated https://fedoraproject.org/wiki/Changes/NodejsRepackaging with the results of this discussion. I'll go the `nodejs-$MAJOR-unversioned-command` route. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to

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

2022-09-13 Thread Stephen Gallagher
On Mon, Sep 12, 2022 at 3:34 PM Miro Hrončok wrote: ... > I don't like the EOL-Obsolte within one Fedora release. Things like this > should > only change on release boundary. Other than that it sounds good, but consider > that packages requiring /usr/bin/node might pick any of the versions we

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

2022-09-12 Thread Miro Hrončok
On 12. 09. 22 20:56, Stephen Gallagher wrote: On Wed, Sep 7, 2022 at 3:30 PM Miro Hrončok wrote: On 07. 09. 22 19:30, Neal Gompa wrote: That said, I don't think alternatives makes sense for this case. Me neither. We used this for /usr/bin/python3 in RHEL 8 and it's very bad UX and requires

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

2022-09-12 Thread Stephen Gallagher
On Wed, Sep 7, 2022 at 3:30 PM Miro Hrončok wrote: > > On 07. 09. 22 19:30, Neal Gompa wrote: > > That said, I don't think alternatives makes sense for this case. > > Me neither. We used this for /usr/bin/python3 in RHEL 8 and it's very bad UX > and requires custom hacks in scriptlets even in

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

2022-09-08 Thread Vít Ondruch
Dne 07. 09. 22 v 19:30 Neal Gompa napsal(a): The openSUSE folks wrote an alternative alternatives implementation called libalternatives that is likely to be rpm-ostree compatible. It works differently from regular alternatives, and I've got a package in copr for it[1]. It might be worth

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

2022-09-08 Thread Vít Ondruch
Dne 07. 09. 22 v 19:41 Stephen Gallagher napsal(a): On Wed, Sep 7, 2022 at 1:32 PM Neal Gompa wrote: On Wed, Sep 7, 2022 at 12:45 PM Stephen Gallagher wrote: On Wed, Sep 7, 2022 at 9:03 AM Neal Gompa wrote: On Wed, Sep 7, 2022 at 2:49 AM Vitaly Zaitsev via devel wrote: On 06/09/2022

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

2022-09-07 Thread Florian Weimer
* Stephen Gallagher: > On Wed, Sep 7, 2022 at 1:36 PM Ewoud Kohl van Wijngaarden > 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

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

2022-09-07 Thread Miro Hrončok
On 07. 09. 22 19:30, Neal Gompa wrote: That said, I don't think alternatives makes sense for this case. Me neither. We used this for /usr/bin/python3 in RHEL 8 and it's very bad UX and requires custom hacks in scriptlets even in RHEL 9 to undo it. It's ugly and hard to get rid of. See

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

2022-09-07 Thread Stephen Gallagher
On Wed, Sep 7, 2022 at 1:56 PM Neal Gompa wrote: > > On Wed, Sep 7, 2022 at 1:41 PM Stephen Gallagher wrote: > > > > On Wed, Sep 7, 2022 at 1:32 PM Neal Gompa wrote: > > > > > > On Wed, Sep 7, 2022 at 12:45 PM Stephen Gallagher > > > wrote: > > > > > > > > On Wed, Sep 7, 2022 at 9:03 AM Neal

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

2022-09-07 Thread Neal Gompa
On Wed, Sep 7, 2022 at 1:41 PM Stephen Gallagher wrote: > > On Wed, Sep 7, 2022 at 1:32 PM Neal Gompa wrote: > > > > On Wed, Sep 7, 2022 at 12:45 PM Stephen Gallagher > > wrote: > > > > > > On Wed, Sep 7, 2022 at 9:03 AM Neal Gompa wrote: > > > > > > > > On Wed, Sep 7, 2022 at 2:49 AM Vitaly

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

2022-09-07 Thread Stephen Gallagher
On Wed, Sep 7, 2022 at 1:36 PM Ewoud Kohl van Wijngaarden 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

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

2022-09-07 Thread Stephen Gallagher
On Wed, Sep 7, 2022 at 1:32 PM Neal Gompa wrote: > > On Wed, Sep 7, 2022 at 12:45 PM Stephen Gallagher wrote: > > > > On Wed, Sep 7, 2022 at 9:03 AM Neal Gompa wrote: > > > > > > On Wed, Sep 7, 2022 at 2:49 AM Vitaly Zaitsev via devel > > > wrote: > > > > > > > > On 06/09/2022 20:28, Ben

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

2022-09-07 Thread Stephen Smoogen
On Wed, 7 Sept 2022 at 12:55, Vít Ondruch 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

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

2022-09-07 Thread Ewoud Kohl van Wijngaarden
On Wed, Sep 07, 2022 at 12:31:27PM -0400, Stephen Gallagher wrote: On Tue, Sep 6, 2022 at 7:07 PM Ewoud Kohl van Wijngaarden wrote: On Tue, Sep 06, 2022 at 02:28:39PM -0400, Ben Cotton wrote: >== Benefit to Fedora == >=== Packager Benefits === >* No more modules to maintain. >* Availability

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

2022-09-07 Thread Neal Gompa
On Wed, Sep 7, 2022 at 12:45 PM Stephen Gallagher wrote: > > On Wed, Sep 7, 2022 at 9:03 AM Neal Gompa wrote: > > > > On Wed, Sep 7, 2022 at 2:49 AM Vitaly Zaitsev via devel > > wrote: > > > > > > On 06/09/2022 20:28, Ben Cotton wrote: > > > > We will be creating the packages nodejs-16,

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

2022-09-07 Thread Vít Ondruch
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

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

2022-09-07 Thread Stephen Gallagher
On Wed, Sep 7, 2022 at 9:03 AM Neal Gompa wrote: > > On Wed, Sep 7, 2022 at 2:49 AM Vitaly Zaitsev via devel > wrote: > > > > On 06/09/2022 20:28, Ben Cotton wrote: > > > We will be creating the packages nodejs-16, nodejs-18 and (in April) > > > nodejs-20. These packages will be

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

2022-09-07 Thread Stephen Gallagher
On Tue, Sep 6, 2022 at 7:07 PM Ewoud Kohl van Wijngaarden wrote: > > On Tue, Sep 06, 2022 at 02:28:39PM -0400, Ben Cotton wrote: > >== Benefit to Fedora == > >=== Packager Benefits === > >* No more modules to maintain. > >* Availability of multiple Node.js versions in the buildroot means > >that

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

2022-09-07 Thread Neal Gompa
On Wed, Sep 7, 2022 at 2:49 AM Vitaly Zaitsev via devel wrote: > > On 06/09/2022 20:28, Ben Cotton wrote: > > 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

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

2022-09-07 Thread Vitaly Zaitsev via devel
On 06/09/2022 20:28, Ben Cotton wrote: 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`

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

2022-09-06 Thread Ewoud Kohl van Wijngaarden
On Tue, Sep 06, 2022 at 02:28:39PM -0400, Ben Cotton wrote: == Benefit to Fedora == === Packager Benefits === * No more modules to maintain. * Availability of multiple Node.js versions in the buildroot means that other `nodejs-*` packages can test against multiple supported options. == Scope ==

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

2022-09-06 Thread Ben Cotton
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

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

2022-09-06 Thread Ben Cotton
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