You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cons of Python doesn't look very relevant to me: in node-gyp it would be nice to remove it as a dependency (for users compiling modules), but here we're not getting rid of it so fast. PowerShell is not a bad option either, if more people prefer it I'm also ok with it.
The main thing is: can you really make it more concise, keeping the same syntax, and test it well? There's a lot of logic built into it that we can't discard, and to end up with something equally complex but in another language doesn't make much sense to me. Something simpler and easier to change would be welcome though.
If you can, while developing, make one commit that translates vcbuild to python/powershell exactly, and any changes in separate commits on top of it. This would make reviewing much easier and we can squash when landing. Thanks for your effort on this!
The main thing is: can you really make it more concise, keeping the same syntax, and test it well? There's a lot of logic built into it that we can't discard, and to end up with something equally complex but in another language doesn't make much sense to me. Something simpler and easier to change would be welcome though.
Powershell is at least a structured language, and has better dev tools from the ISE to Powershell for VSCode
As for testing, should be managable, since it's output are just calls to other tools, I don't have to actually test to final output, just that the calls are the same.
If you can, while developing, make one commit that translates vcbuild to python/powershell exactly, and any changes in separate commits on top of it. This would make reviewing much easier and we can squash when landing. Thanks for your effort on this!
The cons of Python doesn't look very relevant to me: in node-gyp it would be nice to remove it as a dependency (for users compiling modules), but here we're not getting rid of it so fast. PowerShell is not a bad option either, if more people prefer it I'm also ok with it.
My initial intuition was python, then @gibfahn made me think of JScript over cscript. Didn't imagine the popular vote would be Powershell, but that's cool as well.
@refack Same question as the other PR: Still in progress? Should this remain open? Removing discuss label but feel free to put it back if you think it should stay.
There's been no activity here in a long time and it's not clear if it's moving forward. Refactoring the windows build, however, is still a good thing to do. Closing, but I've added this to the Futures project board so that it doesn't get lost.
Activity
refack commentedon Apr 10, 2017
/cc @nodejs/platform-windows @nodejs/build
jbergstroem commentedon Apr 11, 2017
I'm with @joaocgreis's future vote :)
refack commentedon Apr 11, 2017
Seems like there's consensus for Powershell...
(I might make a JScript one for fun...)
joaocgreis commentedon Apr 12, 2017
The cons of Python doesn't look very relevant to me: in node-gyp it would be nice to remove it as a dependency (for users compiling modules), but here we're not getting rid of it so fast. PowerShell is not a bad option either, if more people prefer it I'm also ok with it.
The main thing is: can you really make it more concise, keeping the same syntax, and test it well? There's a lot of logic built into it that we can't discard, and to end up with something equally complex but in another language doesn't make much sense to me. Something simpler and easier to change would be welcome though.
If you can, while developing, make one commit that translates vcbuild to python/powershell exactly, and any changes in separate commits on top of it. This would make reviewing much easier and we can squash when landing. Thanks for your effort on this!
refack commentedon Apr 12, 2017
Powershell is at least a structured language, and has better dev tools from the ISE to Powershell for VSCode
As for testing, should be managable, since it's output are just calls to other tools, I don't have to actually test to final output, just that the calls are the same.
I'll take a crack at it
refack commentedon Apr 12, 2017
My initial intuition was python, then @gibfahn made me think of JScript over cscript. Didn't imagine the popular vote would be Powershell, but that's cool as well.
refack commentedon Apr 12, 2017
P.S. vote for https://youtrack.jetbrains.com/issue/IDEABKL-6738
vsemozhetbyt commentedon Apr 15, 2017
A strange idea: #12425 (comment)
gdams commentedon Apr 25, 2017
I'm definitely pro using powershell here...
Trott commentedon Mar 9, 2018
@refack Same question as the other PR: Still in progress? Should this remain open? Removing
discusslabel but feel free to put it back if you think it should stay.gibfahn commentedon Mar 9, 2018
I think the discussion is done, we know what needs to be done, it just needs someone to put the time in and raise a PR.
Still worth doing though, so worth leaving open.
pd4d10 commentedon Dec 5, 2019
Powershell +1. If no one takes this I would like to give it a try.
jasnell commentedon Jun 25, 2020
There's been no activity here in a long time and it's not clear if it's moving forward. Refactoring the windows build, however, is still a good thing to do. Closing, but I've added this to the Futures project board so that it doesn't get lost.