-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Node Aliases #2170
Comments
nvm already supports I plan to add support for The challenge around any category that depends on time (active, maintenance, etc) is that then nvm has to start storing the EOL dates from remote calls to nodejs.org, doing date math in POSIX, and knowing the current time - which is a ton of complexity. However, CI configs using |
I open this not because the functionality is not mostly already present. I ask specifically about these aliases. The goal of that document is to formalize the grammar, and from a tooling perspective, if we had a shared grammar we could have standard ways to use these aliases in local dev ( Today, because we do not have a shared grammar we get one alias in the |
To be honest, I don't think that time-based aliases are actually going to be a particularly good or easy thing to get adoption across the ecosystem. |
I am interested in why you think this? For me, I really don't want to think about this. I want to just say "follow the most recent lts" or "follow the leading edge" and forget about it until there is an issue. This is obviously different for testing, but for my general local development and even for my deployments, I want less control, not more. Obviously there will be cases to pin back and even lock, but supporting these aliases which are resolved when someone runs the tool seems like a great feature (ignoring for now the technical details). |
I think that |
Ok, but support dates are inherent in the |
I don't think they are - using |
Sorry, I haven't dug into how |
The listing on nodejs.org updates to include it. To know if a version is supported, instead of one piece of information (the nodejs.org index), two/three are required (the current date and timezone) as well as the logic to compare them. |
Ok, so you just use the |
The node release team could certainly add a column for "no longer supported", and then nvm could trivially read it. |
Cool, so if we had flags in that file which could be used to support these aliases you would be good with that. Then I will go ahead and engage them to see if we can get these added. I think the flags we will need added are |
also “EOL”, ideally |
Hey, I was wondering what it would take to get nvm to support these aliases?
nodejs/package-maintenance#236
Is this something you are interested in?
The text was updated successfully, but these errors were encountered: