Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uptools: clarify commit message linting #23742
Conversation
This comment has been minimized.
This comment has been minimized.
Trott
referenced this pull request
Oct 18, 2018
Merged
build,meta: don't fail Travis for commit message #23739
richardlau
approved these changes
Oct 18, 2018
vdeturckheim
approved these changes
Oct 18, 2018
refack
reviewed
Oct 18, 2018
| @@ -13,7 +13,7 @@ matrix: | |||
| script: | |||
| - make lint | |||
| # Lint the first commit in the PR. | |||
| - git log $TRAVIS_COMMIT_RANGE --pretty=format:'%h' --no-merges | tail -1 | xargs npx core-validate-commit --no-validate-metadata | |||
| - echo 'Linting the commit message...' && git log $TRAVIS_COMMIT_RANGE --pretty=format:'%h' --no-merges | tail -1 | xargs npx -q core-validate-commit --no-validate-metadata | |||
This comment has been minimized.
This comment has been minimized.
refack
Oct 18, 2018
Member
I think that at his point you should promote this to either a script in tools, or a Makefile target.
That will also allow manual checks
This comment has been minimized.
This comment has been minimized.
Trott
Oct 18, 2018
Author
Member
Maybe. There is, however, a reliance on a Travis-specific environment variable....
This comment has been minimized.
This comment has been minimized.
refack
Oct 18, 2018
Member
A script could be parameter based...
Or maybe move the logic into core-validate-commit.
It would be nice to be able to just do npx core-validate-commit and get an answer.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Could you add:
|
refack
added
test
meta
labels
Oct 18, 2018
Trott
force-pushed the
Trott:commitments
branch
from
09fc13e
to
1b7dfea
Oct 18, 2018
This comment has been minimized.
This comment has been minimized.
I'd prefer a non-obfuscated URL. |
This comment has been minimized.
This comment has been minimized.
It's kinda horible |
This comment has been minimized.
This comment has been minimized.
|
I put in the shortened URL for now. We can always switch in the non-obfuscated one later, but it is about 110 characters long.... |
refack
approved these changes
Oct 18, 2018
This comment has been minimized.
This comment has been minimized.
|
(By the way: Thanks everyone for patiently working with this. I know it's caused more questions and confusion than anything else up until now, which is unfortunate. Hopefully this and the other thing that just landed will make it valuable...) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Ohh I just had an idea how to workaround Travis's Pass/Fail limitation. Use the node-bot; curl it with parameters so it could post a comment in the PR thread. |
refack
added
the
fast-track
label
Oct 18, 2018
This comment has been minimized.
This comment has been minimized.
|
I'm +1 for fast-tracking this |
This comment has been minimized.
This comment has been minimized.
|
That's one fast-track approval from @refack. If another Collaborator also feels this should be fast-tracked, please |
thefourtheye
approved these changes
Oct 19, 2018
This comment has been minimized.
This comment has been minimized.
Trott
added a commit
to Trott/io.js
that referenced
this pull request
Oct 19, 2018
This comment has been minimized.
This comment has been minimized.
|
Landed in 2cb2597 |


Trott commentedOct 18, 2018
Clarify in Travis results that the commit message linting is for the
commit message and not something else.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes