-
Notifications
You must be signed in to change notification settings - Fork 30k
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: process release lts property #16656
src: process release lts property #16656
Conversation
|
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.
LGTM
Were we going to include updates to node_version.h to make sure the LTS related flags are in there?
doc/api/process.md
Outdated
@@ -1437,8 +1437,12 @@ tarball. | |||
architecture and version of the current release. This file is used for | |||
compiling Node.js native add-ons. _This property is only present on Windows | |||
builds of Node.js and will be missing on all other platforms._ | |||
* `lts` {string} a string label identifying the [LTS][] label for this release. | |||
If the Node.js release is not an LTS release, this will be `undefined`. | |||
* `lts` {string} a string label identifying the [LTS][] label for this 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.
is there an indent change here or is just github rendering weirdly?
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.
Yep, looks like an indent.
a84754a
to
a808d96
Compare
a808d96
to
10fbcef
Compare
10fbcef
to
7f73d81
Compare
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
PR-URL: nodejs#16656 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
7f73d81
to
d4471e0
Compare
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
PR-URL: nodejs#16656 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
PR-URL: nodejs#16656 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
This is a forward-port of 455272a. It is required for LTS release branches to have the correct in-process information when configured with
NODE_VERSION_IS_LTS
andNODE_VERSION_LTS_CODENAME
. It has no impact otherwise, other than a test which already covers up multiple possible name paths.This should be backported to 8.x asap as it is missing there and as such
process.release.lts
isundefined
in 8.9.0. Myself and @MylesBorins are hoping to get this into the security release later this week (from irc).This lands cleanly on 8.x.
cc also @nodejs/release
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test, src, lts
CI: https://ci.nodejs.org/job/node-test-pull-request/11121/