-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: update BUILDING.md #8704
doc: update BUILDING.md #8704
Conversation
Added note about vcbuild being included as batch to clarify that it's not needed from msbuild tools or visual studio.
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
@@ -103,6 +103,7 @@ Prerequisites: | |||
* Basic Unix tools required for some tests, | |||
[Git for Windows](http://git-scm.com/download/win) includes Git Bash | |||
and tools which can be included in the global `PATH`. | |||
* vcbuild is provided by this repo as a batch file so if using powershell, use local syntax `./vcbuild nosign` |
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.
I'd prefer this:
Please note that
vcbuild
is a batch file provided with the Node.js source code. If using PowerShell, invoke with a leading./
. For example:./vcbuild nosign
Note that it should be a standalone sentence below the bulleted list of prerequisites, not an item on the list (as it is not a prerequisite).
Change per request of @Trott
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.
Changes per request from @Trott
@Trott I've not used the code-review system on Github before so I hope I executed that change correctly. If not, I'd appreciate guidance and please know it wasn't for lack of trying. |
@@ -103,7 +103,8 @@ Prerequisites: | |||
* Basic Unix tools required for some tests, | |||
[Git for Windows](http://git-scm.com/download/win) includes Git Bash | |||
and tools which can be included in the global `PATH`. | |||
* vcbuild is provided by this repo as a batch file so if using powershell, use local syntax `./vcbuild nosign` | |||
|
|||
Please note that vcbuild is a batch file provided with the Node.js source code. If using PowerShell, use local syntax. For example: ./vcbuild nosign |
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.
Since this is Windows, wouldn't .\
be more correct (and work in cmd.exe
and PowerShell)? Is there any reason not to prefix all the examples .\
(e.g. .\vcbuild
) to be consistent with ./configure
/./node
examples in the Unix / OS X section?
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.
That sounds like an even better solution if that will work on all common Windows environments.
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.
Good point!
@@ -104,6 +104,8 @@ Prerequisites: | |||
[Git for Windows](http://git-scm.com/download/win) includes Git Bash | |||
and tools which can be included in the global `PATH`. | |||
|
|||
Please note that vcbuild is a batch file provided with the Node.js source code. If using PowerShell, use local syntax. For example: ./vcbuild nosign |
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.
I wouldn't know what local syntax means in that context. I'd prefer use a leading .\
.
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.
Could you enclose vcbuild
and ./vcbuild nosign
in backticks to format them as code?
Also, this probably misses a trailing dot.
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.
See the in-line comment, plus this needs an actual commit message formatted according to the documentation.
@@ -104,6 +104,8 @@ Prerequisites: | |||
[Git for Windows](http://git-scm.com/download/win) includes Git Bash | |||
and tools which can be included in the global `PATH`. | |||
|
|||
Please note that vcbuild is a batch file provided with the Node.js source code. If using PowerShell, use local syntax. For example: ./vcbuild nosign |
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.
Could you enclose vcbuild
and ./vcbuild nosign
in backticks to format them as code?
Also, this probably misses a trailing dot.
IMO, people underestimate the difficulty of writing clear documentation. But the value is immense, so thanks for doing this, and I encourage you to not give up quite yet! |
@rainabba I opened a PR against your branch that I think is what is being sought here. Can you take a look? If it looks good to you, you can merge it and it will be part of this PR. If that works for you, then whoever lands (if it's not me) this should just squash my commit into yours. |
squash: nits
@Trott The challenge here for me wasn't in the documentation (though your PR I just approved was definitely a cleaner approach than mine) so much as the PR process here that I'm still getting the hang of. Now per the request from @ChALkeR , I need to clean up my commit message, but I'm not sure the best way to make that happen and get that change through to here so it's clean without changing that one commit, then force pushing. I'd think that would be okay if nobody else had touched it, but I fear the moment I made the PR that would become a bad idea and I'm not sure how else to accomplish without a new PR. Of course, this assumes that the change requested by @ChALkeR is a show-stopper. |
@rainabba: I would say:
If, after doing the second item above, you really want to fix the commit message, go for it. You can either edit your first commit to have the correctly-formatted message and force push, or you can squash everything into one commit and force-push. But if all you do is just be familiar with it for next time, that's great. It doesn't need to be fixed by you this time, especially if you're uncertain of how it will affect GitHub's treatment of your branch in the pull request. (I'm pretty sure it will be fine no matter what you do, for what it's worth.) |
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
Side note: It's no problem for GitHub if you force push onto a branch that's used in a PR :) |
@fhinkel I regularly do just that to update PR content. Only things force push can potentially conflict with is the ongoing CI run and CI->GitHub status updates; and starting new CI fixes that. |
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
I'll start landing this:
|
Added note about vcbuild being included as batch to clarify that it's not needed from msbuild tools or visual studio. PR-URL: #8704 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Added note about vcbuild being included as batch to clarify that it's not needed from msbuild tools or visual studio. PR-URL: #8704 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Added note about vcbuild being included as batch to clarify that it's not needed from msbuild tools or visual studio. PR-URL: #8704 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
@MylesBorins about the |
@joaocgreis that was basically it, most doc changes that don't land cleanly have simply been |
Added note about vcbuild being included as batch to clarify that it's not needed from msbuild tools or visual studio. PR-URL: #8704 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Thanks @MylesBorins Landed in |
Added note about vcbuild being included as batch to clarify that it's not needed from msbuild tools or visual studio. PR-URL: #8704 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Checklist
Affected core subsystem(s)
doc
Description of change
Added note about vcbuild being included as batch to clarify that it's not needed from msbuild tools or visual studio.