Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580698 - net-libs/nodejs major branches should be SLOTted
Summary: net-libs/nodejs major branches should be SLOTted
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-21 06:42 UTC by ArticIce(Juice)
Modified: 2023-07-17 15:42 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ArticIce(Juice) 2016-04-21 06:42:15 UTC
NodeJS needs two slots for the 1.x version and the 4.x version. It has made a jump from 1.x straight to 4.x.

As a developer, sometimes I need to use both 1.x and 4.x versions, they are very different in language capabilities.
Comment 1 Johan Bergström 2016-06-22 16:38:18 UTC
(In reply to ArticIce(Juice) from comment #0)
> NodeJS needs two slots for the 1.x version and the 4.x version. It has made
> a jump from 1.x straight to 4.x.
> 
> As a developer, sometimes I need to use both 1.x and 4.x versions, they are
> very different in language capabilities.

1.x isn't supported upstream which makes it hard for us to support it. Our ambition is to treat the LTS branch as 'stable', currently 4.x. Once 6.x will make the switch later this year, we will also make this transition. This doesn't mean we will invalidate older ebuilds right away, but as older versions grow unsupported we need to take security issues into consideration. If you insist on using unsupported upstream versions I suggest you make an overlay and maintain it. If others are interested in this I bet there could be a joint effort to maintain backports of security patches, but seeing how v8 doesn't even backport security patches you will have a pretty significant task doing so. 

I hope you understand our reasoning following upstream in terms of availability!
Comment 2 ArticIce(Juice) 2017-04-21 07:13:10 UTC
Well, ok, now I need slots for 4.6, 6 and 7 versions.
Am I really the only one who needs it?

Are others using "node version switcher" and binaries?
Comment 3 Marek Szuba archtester gentoo-dev 2020-11-09 13:57:04 UTC
Closing this due to lack of activity so far and it being highly non-trivial to slot NodeJS.
Comment 4 Leho Kraav (:macmaN @lkraav) 2023-03-02 21:39:01 UTC
I now happened to run into a situation where I need both NodeJS 14 and 18 installed. Any clever non-slotted workarounds available?