Uh oh!
There was an error while loading. Please reload this page.
build: call setlocal in vcbuild.bat - #15754
Conversation
Currently the variables set in vcbuild.bat are mostly global and escape/leak out into the calling process. For example, running vcbuild.bat test and then echoing the config variable gives: vcbuild.bat test ... echo %config% Release After this change the same command give: vcbuild.bat test ... echo %config% %config%
danbev
commented
Oct 3, 2017
Currently the variables set in vcbuild.bat are mostly global and escape/leak out into the calling process. For example, running vcbuild.bat test and then echoing the config variable gives: vcbuild.bat test ... echo %config% Release After this change the same command give: vcbuild.bat test ... echo %config% %config% PR-URL: nodejs#15754 Reviewed-By: James M Snell <jasnell@gmail.com>
danbev
commented
Oct 5, 2017
Landed in b9a55a9 |
Currently the variables set in vcbuild.bat are mostly global and escape/leak out into the calling process. For example, running vcbuild.bat test and then echoing the config variable gives: vcbuild.bat test ... echo %config% Release After this change the same command give: vcbuild.bat test ... echo %config% %config% PR-URL: #15754 Reviewed-By: James M Snell <jasnell@gmail.com>
Currently the variables set in vcbuild.bat are mostly global and escape/leak out into the calling process. For example, running vcbuild.bat test and then echoing the config variable gives: vcbuild.bat test ... echo %config% Release After this change the same command give: vcbuild.bat test ... echo %config% %config% PR-URL: #15754 Reviewed-By: James M Snell <jasnell@gmail.com>
Currently the variables set in vcbuild.bat are mostly global and escape/leak out into the calling process. For example, running vcbuild.bat test and then echoing the config variable gives: vcbuild.bat test ... echo %config% Release After this change the same command give: vcbuild.bat test ... echo %config% %config% PR-URL: nodejs/node#15754 Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins
commented
Oct 17, 2017
this landed cleanly on v6.x. LMK if it should be backed out |
Currently the variables set in vcbuild.bat are mostly global and escape/leak out into the calling process. For example, running vcbuild.bat test and then echoing the config variable gives: vcbuild.bat test ... echo %config% Release After this change the same command give: vcbuild.bat test ... echo %config% %config% PR-URL: #15754 Reviewed-By: James M Snell <jasnell@gmail.com>
refack
commented
Oct 17, 2017
@MylesBorins back it out. This is |
refack
commented
Oct 17, 2017
This change is |
refack
commented
Oct 17, 2017
Revert PR: #16270 |
refack
commented
Oct 17, 2017
Post-mortem: what happened to the "who to CC" procedure? https://github.com/nodejs/node/blob/master/doc/onboarding-extras.md |
danbev
commented
Oct 18, 2017
Apologies for this, I really thought this was a very minor change 😞 Sorry about causing extra work.
Even though I'm aware of that section in the docs I've not been using it at all. I'll make sure to use it in future PRs. |
lance
commented
Oct 18, 2017
@refack I think there should be more to the post-mortem than this. There is no specific group or person identified for To be honest, I'm pretty sure I would have done the same thing here. It's a one line change, reviewed by a TSC member, landing after 48 hours have elapsed. Other than those 48 hours having occurred primarily over a weekend, it seems pretty much by-the-book. In #16270 you mention that this behavior was discussed several times in the past, but where would one look to know about these discussions? If we can improve the documentation to prevent an error like this in the future, it would be great. Sometimes you just don't know what you don't know. |
refack
commented
Oct 18, 2017
First of all I'm replying here since it's interesting for me to try and learn. not piling on @danbev whom I respect and IMHO did nothing wrong. @lance I tend to agree with your conclusions.
That's why I only touched on the "who to CC" issue, since at the moment more eyeballs is the best heuristic I'm aware of to defragment the "institutional knowledge" |
Make sure contributors know to cc @nodejs/build when submitting issues that are build related (in addition to whatever platform are relevant). PR-URL: #16298 Ref: #15754 (comment) Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
MylesBorins
commented
Oct 18, 2017
I've backed this out of v6.x-staging... we should land the revert commit on 8.x in the next release |
refack
commented
Oct 18, 2017
I've noted that down. |
lance
commented
Oct 18, 2017
@refack in this case, is it worth a code comment in I also tend to think of /cc'ing as nagging a bit. That's a misperception on my part for sure. But of course, I cc'd the world in my comment above. :) |
Make sure contributors know to cc @nodejs/build when submitting issues that are build related (in addition to whatever platform are relevant). PR-URL: #16298 Ref: #15754 (comment) Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Make sure contributors know to cc @nodejs/build when submitting issues that are build related (in addition to whatever platform are relevant). PR-URL: nodejs/node#16298 Ref: nodejs/node#15754 (comment) Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Make sure contributors know to cc @nodejs/build when submitting issues that are build related (in addition to whatever platform are relevant). PR-URL: nodejs/node#16298 Ref: nodejs/node#15754 (comment) Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Currently the variables set in vcbuild.bat are mostly global and
escape/leak out into the calling process. For example, running
vcbuild.bat test and then echoing the config variable gives:
After this change the same command give:
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
build