-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
src: add process.release.lts property & LTS CODENAME VOTING #3212
Conversation
Changes LGTM, once the real value is in there. My vote is for Argon because it's shorter, and easier to remember and say. |
996f713
to
e8b9db9
Compare
+1 to Argon |
Another vote for Argon
|
Changes lgtm once real value is there. +1 to Argon |
@@ -2736,6 +2736,9 @@ void SetupProcessObject(Environment* env, | |||
Local<Object> release = Object::New(env->isolate()); | |||
READONLY_PROPERTY(process, "release", release); | |||
READONLY_PROPERTY(release, "name", OneByteString(env->isolate(), "node")); | |||
READONLY_PROPERTY(release, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this make sure that lts
is defined only for LTS releases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this PR is against v4.x
, that's how; I'm open to suggestions on doc changes that could go in to master
if any
+1 Argon |
+1 for Argon, though I would have preferred if we picked the elements in the natural order and start with Hydrogen. |
LGTM + Argon |
+1 for Argon. Patch LGTM. |
Can we make if (process.release.lts < 201709) { // do this one thing
if (process.release.lts > 201510) { // do this other thing |
@rvagg What will the 10th LTS release be called? |
+1 to Ben's suggestion. |
(we already bikeshedded that in the meeting) Let's just do |
@nodejs/lts opinions on @Fishrock123's suggestion above, my recollection is that we ended at the date not being all that helpful given that we already have I guess we could review the hangout video ... someone have the patience for that? |
Actually, same. Going back to @zkat and @issacs's points, this is what the semver version is for. We only have an lts bit in to tell that it is actually an lts release and whether or not we make it a string, it might as well be a boolean. |
Also, interesting thought: I guess this means we always have to bump a minor when going into an LTS phase? |
Whatever name, just get @bnoordhuis's date parsing in there +1. |
As we bikeshedded in the LTS meeting, that's not actually useful. Just use the semver version instead (+ a check if it is an lts at all). |
@Fishrock123 haven't caught up on the bikeshedding just yet. Thanks for pointing me there though. |
Also, fwiw, +1 Argon (my suggestion)(am I allowed to vote for my own?) |
e8b9db9
to
5570327
Compare
5570327
to
ce625c7
Compare
Updated PR to use Also added in more strict testing so that it'll enforce no |
LGTM. There are a few bits I'll fix up when it lands (i.e. "WHAT WILL THIS BE?" is the doc change) |
Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: #3212
Landed in 42b936e |
The first Node.js LTS release! See https://github.com/nodejs/LTS/ for details of the LTS process. * **icu**: Updated to version 56 with significant performance improvements (Steven R. Loomis) #3281 * **node**: - Added new `-c` (or `--check`) command line argument for checking script syntax without executing the code (Dave Eddy) #2411 - Added `process.versions.icu` to hold the current ICU library version (Evan Lucas) #3102 - Added `process.release.lts` to hold the current LTS codename when the binary is from an active LTS release line (Rod Vagg) #3212 * **npm**: Upgraded to npm 2.14.7 from 2.14.4, see release notes: https://github.com/npm/npm/releases/tag/v2.14.7 for full details (Kat Marchán) #3299 PR-URL: #3258
The first Node.js LTS release! See https://github.com/nodejs/LTS/ for details of the LTS process. * **icu**: Updated to version 56 with significant performance improvements (Steven R. Loomis) #3281 * **node**: - Added new `-c` (or `--check`) command line argument for checking script syntax without executing the code (Dave Eddy) #2411 - Added `process.versions.icu` to hold the current ICU library version (Evan Lucas) #3102 - Added `process.release.lts` to hold the current LTS codename when the binary is from an active LTS release line (Rod Vagg) #3212 * **npm**: Upgraded to npm 2.14.7 from 2.14.4, see release notes: https://github.com/npm/npm/releases/tag/v2.14.7 for full details (Kat Marchán) #3299 PR-URL: #3258
The first Node.js LTS release! See https://github.com/nodejs/LTS/ for details of the LTS process. * **icu**: Updated to version 56 with significant performance improvements (Steven R. Loomis) #3281 * **node**: - Added new `-c` (or `--check`) command line argument for checking script syntax without executing the code (Dave Eddy) #2411 - Added `process.versions.icu` to hold the current ICU library version (Evan Lucas) #3102 - Added `process.release.lts` to hold the current LTS codename when the binary is from an active LTS release line (Rod Vagg) #3212 * **npm**: Upgraded to npm 2.14.7 from 2.14.4, see release notes: https://github.com/npm/npm/releases/tag/v2.14.7 for full details (Kat Marchán) #3299 PR-URL: #3258
The first Node.js LTS release! See https://github.com/nodejs/LTS/ for details of the LTS process. * **icu**: Updated to version 56 with significant performance improvements (Steven R. Loomis) #3281 * **node**: - Added new `-c` (or `--check`) command line argument for checking script syntax without executing the code (Dave Eddy) #2411 - Added `process.versions.icu` to hold the current ICU library version (Evan Lucas) #3102 - Added `process.release.lts` to hold the current LTS codename when the binary is from an active LTS release line (Rod Vagg) #3212 * **npm**: Upgraded to npm 2.14.7 from 2.14.4, see release notes: https://github.com/npm/npm/releases/tag/v2.14.7 for full details (Kat Marchán) #3299 PR-URL: #3258
This makes the process.release.lts property configurable by a constant. This ref is the original PR to v6.x. Refs: nodejs#3212 Conflicts: doc/api/process.md PR-URL: nodejs#16656 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
This makes the process.release.lts property configurable by a constant. This ref is the original PR to v6.x. Refs: nodejs#3212 Conflicts: doc/api/process.md PR-URL: nodejs#16656 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
This makes the process.release.lts property configurable by a constant. This ref is the original PR to v6.x. Refs: nodejs#3212 Conflicts: doc/api/process.md PR-URL: nodejs#16656 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Looking for review of this against
v4.x
, and separately calling for votes from @nodejs/collaborators on what the codename for our first LTS line (v4.x) will be. We are aiming for v4.2.0 LTS to be released this Thursday so this has to be quick!Adopting a codename for LTS releases is part of the original LTS plan and although we've had a couple of late-breaking objections to even having a codename we're going ahead with it anyway given that this has been baked into the LTS plan that has already been adopted. We'll give it a go for this first one and assess for v6 if we go ahead and do it again.
The objectives are something like this:
process.release.lts
property) and for non-code communication purposes. We have an additional burden of having to start an LTS at an arbitrary point of a semver-major + semver-minor, i.e. 4.2.0 in this case, being able to call it something from that point on sets it apartThe plan was for the @nodejs/lts group to come up with a short-list and call for voting. We've decided to go with the periodic-table for inspiration, there's a nice connection between the elements and the elemental nature of what we are trying to do with Node (i.e. small-core), also, there's lots to choose from! We also agreed that using alphabetic ordering will be helpful in deciphering order without needing additional context if people choose to refer to a line by its codename. These are what are available:
For various reasons we've had to trim that list right down and only have two candidates for the v4 LTS codename:
Actinium
Actinium is a silvery radioactive metallic element. Actinium glows in the dark due to its intense radioactivity with a blue light. Actinium was discovered in 1899 by André-Louis Debierne, a French chemist, who separated it from pitchblende. Friedrich Otto Giesel independently discovered actinium in 1902. The chemical behavior of actinium is similar to that of the rare earth lanthanum. The word actinium comes from the Greek aktis, aktinos, meaning beam or ray. Also, Actinium happens to have 4 isotopes, which is nice for our v4 release.
Argon
Argon was suspected to be present in air by Henry Cavendish in 1785 but wasn't discovered until 1894 by Lord Rayleigh and Sir William Ramsay. Argon is the third noble gas, in period 8, and it makes up about 1% of the Earth's atmosphere. Argon has approximately the same solubility as oxygen and it is 2.5 times as soluble in water as nitrogen . This chemically inert element is colorless and odorless in both its liquid and gaseous forms. It is not found in any compounds. This gas is isolated through liquid air fractionation since the atmosphere contains only 0.94% argon. The Martian atmosphere in contrast contains 1.6% of Ar-40 and 5 ppm Ar-36. World production exceeds 750.000 tonnes per year, the supply is virtually inexhaustible.
(Astatine might also have been in the running except for the slightly awkward pronunciation and this gem: "total world production of astatine to date is estimated to be less than a millionth of a gram, and virtually all of this has now decayed away.")
So, this vote is open to @nodejs/collaborators only, you get one vote each, just leave a comment with your choice below.
Also looking for reviews of the changes this introduces (assuming the codename will be inserted to the appropriate places when chosen).