Uh oh!
There was an error while loading. Please reload this page.
cli: fix the misalinged text on "node --help" - #10948
Conversation
6e97b90 to
cd89840Compareevanlucas
commented
Jan 23, 2017
Thanks @aashil! Can you prefix the commit message with |
cjihrig
commented
Jan 23, 2017
Does the |
joshgav
commented
Jan 23, 2017
LGTM - thanks! |
jasnell
commented
Jan 23, 2017
Agree with @cjihrig's concern. If this causes any lines to go over 80, then that should be fixed. Otherwise LGTM |
aashil
commented
Jan 23, 2017
@evanlucas Sure, will do it. |
cd89840 to
1cf525bComparecjihrig
commented
Jan 23, 2017
Because you didn't write it yet! :-D |
aashil
commented
Jan 23, 2017
@cjihrig Can I help with setting it up? If yes, I would like to submit an issue and start working on it. |
cjihrig
commented
Jan 23, 2017
I would just add a test to this PR. You can spawn |
aashil
commented
Jan 23, 2017
I think we already have cpplint setup which tests for the 80 character limit here. From what I understand, the CI should automatically boot up the cpplint on submitting a PR. Please correct me if I am wrong. |
cjihrig
commented
Jan 23, 2017
Linting would run on the source code. I was referring to the actual message printed to the console. |
aashil
commented
Jan 23, 2017
Ah, makes sense. Can you please point me to the file where I need to write the test ? Thank you. |
cjihrig
commented
Jan 23, 2017
I would create a new test in |
aashil
commented
Jan 23, 2017
Thanks. Will add the test soon. |
1cf525b to
37860efCompare@cjihrig I wrote a test as discussed but the test is reading the message from the Error: |
@aashil |
aashil
commented
Jan 23, 2017
@Trott Added the space after it. Still the same error. This time I did |
37860ef to
314bc85CompareThere was a problem hiding this comment.
This and use-openssl-ca need to be aligned.
ab9cebc to
ed2faefCompareTrott
commented
Jan 26, 2017
aashil
commented
Jan 26, 2017
It appears that |
The ARM thing is just a problem with the GitHub widget. It's just the FIPS issue that we need to figure out. As best as I can tell from looking at So given that, it seems like the options are:
Looking at I'm not sure I'm communicating the idea clearly above, but that may be OK for now because I'm starting to wonder if trying to have the test be in this PR may be creating more problems than it's solving. Maybe we should strip it out of this and open a separate PR for it. Then the alignment fix for the usage text can land sooner and the test can take as much time as it takes. Normally, I'm not in favor of landing tests after functionality, but this isn't really functionality. It's formatting. I'm OK with the test coming later. We've gone this long without a test for it... In case I'm missing an obvious solution that can easily be implemented, thus invalidating nearly everything I've written above: /cc @nodejs/testing |
Trott
commented
Jan 27, 2017
@aashil Is it OK with you if I land the alignment fix and we push the test issue to another PR? |
aashil
commented
Jan 27, 2017
Sure, Rich. I would like to work on the test issue PR as well. Will create a new PR in the weekend. |
The alignment of the argument descriptions in the "node --help" text is off. This commit fixes the issue by adding two spaces before each of the argument description. PR-URL: nodejs#10948Fixes: nodejs#10935 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Josh Gavant <josh.gavant@outlook.com>
ed2faef to
5d27cc1CompareTrott
commented
Jan 28, 2017
Updated to just include changes to alignment in help message. |
Trott
commented
Jan 28, 2017
Landed in 5d27cc1. |
evanlucas
commented
Jan 31, 2017
This isn't landing cleanly on v7.x. Mind opening a backport pr targetting v7.x-staging? |
Trott
commented
Jan 31, 2017
@evanlucas Might be best to backport 6ff3b03 first. |
aashil
commented
Jan 31, 2017
I can backport both if you want. |
evanlucas
commented
Jan 31, 2017
@aashil that would be awesome! Let us know if you have any questions on how to backport! Thanks! |
aashil
commented
Feb 1, 2017
From what I understand about backporting, first I need to create a branch off upstream/v7.x-staging and install the node version (7.x) in that branch. Thereafter, I need to make a copy of those commits (cherry-pick) and make sure it runs of v7.x. Just want to make sure I am on the right path. |
The alignment of the argument descriptions in the "node --help" text is off. This commit fixes the issue by adding two spaces before each of the argument description. PR-URL: nodejs#10948Fixes: nodejs#10935 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Josh Gavant <josh.gavant@outlook.com>
The alignment of the argument descriptions in the "node --help" text is off. This commit fixes the issue by adding two spaces before each of the argument description. PR-URL: nodejs#10948Fixes: nodejs#10935 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Josh Gavant <josh.gavant@outlook.com>
The alignment of the argument descriptions in the "node --help"
text is off. This commit fixes the issue by adding two spaces
before each of the argument description.
Fixes: #10935
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
cli