Skip to content
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

build: clarify missing clang-format tool #42762

Merged

Conversation

tniessen
Copy link
Member

This confused me when I had to run make format-cpp. Clarify that it's not clang-format itself that's missing but rather some tooling around that.

@tniessen tniessen requested a review from RaisinTen April 17, 2022 11:36
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Apr 17, 2022
@tniessen tniessen force-pushed the makefile-clang-format-is-not-clang-format branch from 9fe4a40 to 671b6dc Compare April 17, 2022 11:37
@tniessen tniessen changed the title build: clarify ḿissing clang-format tool build: clarify missing clang-format tool Apr 17, 2022
@tniessen tniessen added fast-track PRs that do not need to wait for 48 hours to land. and removed needs-ci PRs that need a full CI run. labels Apr 17, 2022
@github-actions
Copy link
Contributor

Fast-track has been requested by @tniessen. Please 👍 to approve.

Makefile Outdated Show resolved Hide resolved
@tniessen tniessen force-pushed the makefile-clang-format-is-not-clang-format branch from 4e3628a to 88b6f6a Compare April 17, 2022 20:30
@tniessen tniessen added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 18, 2022
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Apr 18, 2022
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/42762
✔  Done loading data for nodejs/node/pull/42762
----------------------------------- PR info ------------------------------------
Title      build: clarify missing clang-format tool (#42762)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     tniessen:makefile-clang-format-is-not-clang-format -> nodejs:master
Labels     build, fast-track
Commits    1
 - build: clarify missing clang-format tool
Committers 1
 - Tobias Nießen 
PR-URL: https://github.com/nodejs/node/pull/42762
Reviewed-By: Darshan Sen 
Reviewed-By: Rich Trott 
Reviewed-By: Mestery 
Reviewed-By: Luigi Pinca 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/42762
Reviewed-By: Darshan Sen 
Reviewed-By: Rich Trott 
Reviewed-By: Mestery 
Reviewed-By: Luigi Pinca 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Sun, 17 Apr 2022 11:36:45 GMT
   ✔  Approvals: 4
   ✔  - Darshan Sen (@RaisinTen) (TSC): https://github.com/nodejs/node/pull/42762#pullrequestreview-943939663
   ✔  - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/42762#pullrequestreview-943954938
   ✔  - Mestery (@Mesteery): https://github.com/nodejs/node/pull/42762#pullrequestreview-943982857
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/42762#pullrequestreview-944122927
   ℹ  This PR is being fast-tracked
   ✔  Last GitHub CI successful
   ✖  No Jenkins CI runs detected
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/2183248078

@tniessen tniessen added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 18, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 18, 2022
@tniessen
Copy link
Member Author

I fell for nodejs/TSC#1044, thinking needs-ci affects tooling...

@nodejs-github-bot
Copy link
Collaborator

@tniessen tniessen removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Apr 18, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@tniessen tniessen added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 18, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 18, 2022
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/42762
✔  Done loading data for nodejs/node/pull/42762
----------------------------------- PR info ------------------------------------
Title      build: clarify missing clang-format tool (#42762)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     tniessen:makefile-clang-format-is-not-clang-format -> nodejs:master
Labels     build, fast-track
Commits    1
 - build: clarify missing clang-format tool
Committers 1
 - Tobias Nießen 
PR-URL: https://github.com/nodejs/node/pull/42762
Reviewed-By: Darshan Sen 
Reviewed-By: Rich Trott 
Reviewed-By: Mestery 
Reviewed-By: Luigi Pinca 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/42762
Reviewed-By: Darshan Sen 
Reviewed-By: Rich Trott 
Reviewed-By: Mestery 
Reviewed-By: Luigi Pinca 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Sun, 17 Apr 2022 11:36:45 GMT
   ✔  Approvals: 4
   ✔  - Darshan Sen (@RaisinTen) (TSC): https://github.com/nodejs/node/pull/42762#pullrequestreview-943939663
   ✔  - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/42762#pullrequestreview-943954938
   ✔  - Mestery (@Mesteery): https://github.com/nodejs/node/pull/42762#pullrequestreview-943982857
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/42762#pullrequestreview-944122927
   ℹ  This PR is being fast-tracked
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-04-18T14:09:36Z: https://ci.nodejs.org/job/node-test-pull-request/43555/
- Querying data for job/node-test-pull-request/43555/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  No git cherry-pick in progress
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/master up to date...
From https://github.com/nodejs/node
 * branch                  master     -> FETCH_HEAD
✔  origin/master is now up-to-date
- Downloading patch for 42762
From https://github.com/nodejs/node
 * branch                  refs/pull/42762/merge -> FETCH_HEAD
✔  Fetched commits as 3347361713b4..88b6f6a0806b
--------------------------------------------------------------------------------
[master fdfefcdcfc] build: clarify missing clang-format tool
 Author: Tobias Nießen 
 Date: Sun Apr 17 13:34:31 2022 +0200
 1 file changed, 1 insertion(+), 1 deletion(-)
   ✔  Patches applied
--------------------------------------------------------------------------------
--------------------------------- New Message ----------------------------------
build: clarify missing clang-format tool

Co-authored-by: Rich Trott [email protected]

PR-URL: #42762
Reviewed-By: Darshan Sen [email protected]
Reviewed-By: Rich Trott [email protected]
Reviewed-By: Mestery [email protected]
Reviewed-By: Luigi Pinca [email protected]

[master 76bd049cad] build: clarify missing clang-format tool
Author: Tobias Nießen [email protected]
Date: Sun Apr 17 13:34:31 2022 +0200
1 file changed, 1 insertion(+), 1 deletion(-)
✖ 76bd049cadc668d99ea5cc64ae5b0e4a50305032
✖ 1:0 Co-authored-by must be a trailer co-authored-by-is-trailer
✔ 0:0 skipping fixes-url fixes-url
✔ 0:0 blank line after title line-after-title
✔ 0:0 line-lengths are valid line-length
✔ 0:0 metadata is at end of message metadata-end
✔ 3:8 PR-URL is valid. pr-url
✔ 0:0 reviewers are valid reviewers
✔ 0:0 valid subsystems subsystem
✔ 0:0 Title is formatted correctly. title-format
✔ 0:0 Title is <= 50 columns. title-length

ℹ Please fix the commit message and try again.

https://github.com/nodejs/node/actions/runs/2184865680

@nodejs-github-bot nodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Apr 18, 2022
@RaisinTen RaisinTen added commit-queue Add this label to land a pull request using GitHub Actions. needs-ci PRs that need a full CI run. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. fast-track PRs that do not need to wait for 48 hours to land. labels Apr 21, 2022
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Apr 21, 2022
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/42762
✔  Done loading data for nodejs/node/pull/42762
----------------------------------- PR info ------------------------------------
Title      build: clarify missing clang-format tool (#42762)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     tniessen:makefile-clang-format-is-not-clang-format -> nodejs:master
Labels     build, needs-ci
Commits    1
 - build: clarify missing clang-format tool
Committers 1
 - Tobias Nießen 
PR-URL: https://github.com/nodejs/node/pull/42762
Reviewed-By: Darshan Sen 
Reviewed-By: Rich Trott 
Reviewed-By: Mestery 
Reviewed-By: Luigi Pinca 
Reviewed-By: James M Snell 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/42762
Reviewed-By: Darshan Sen 
Reviewed-By: Rich Trott 
Reviewed-By: Mestery 
Reviewed-By: Luigi Pinca 
Reviewed-By: James M Snell 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Sun, 17 Apr 2022 11:36:45 GMT
   ✔  Approvals: 5
   ✔  - Darshan Sen (@RaisinTen) (TSC): https://github.com/nodejs/node/pull/42762#pullrequestreview-943939663
   ✔  - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/42762#pullrequestreview-943954938
   ✔  - Mestery (@Mesteery): https://github.com/nodejs/node/pull/42762#pullrequestreview-943982857
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/42762#pullrequestreview-944122927
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/42762#pullrequestreview-947806244
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-04-18T16:32:13Z: https://ci.nodejs.org/job/node-test-pull-request/43555/
- Querying data for job/node-test-pull-request/43555/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  No git cherry-pick in progress
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/master up to date...
From https://github.com/nodejs/node
 * branch                  master     -> FETCH_HEAD
✔  origin/master is now up-to-date
- Downloading patch for 42762
From https://github.com/nodejs/node
 * branch                  refs/pull/42762/merge -> FETCH_HEAD
✔  Fetched commits as 61fefe1959a8..88b6f6a0806b
--------------------------------------------------------------------------------
[master 2b513c011a] build: clarify missing clang-format tool
 Author: Tobias Nießen 
 Date: Sun Apr 17 13:34:31 2022 +0200
 1 file changed, 1 insertion(+), 1 deletion(-)
   ✔  Patches applied
--------------------------------------------------------------------------------
--------------------------------- New Message ----------------------------------
build: clarify missing clang-format tool

Co-authored-by: Rich Trott [email protected]

PR-URL: #42762
Reviewed-By: Darshan Sen [email protected]
Reviewed-By: Rich Trott [email protected]
Reviewed-By: Mestery [email protected]
Reviewed-By: Luigi Pinca [email protected]
Reviewed-By: James M Snell [email protected]

[master 7ecf53cfb5] build: clarify missing clang-format tool
Author: Tobias Nießen [email protected]
Date: Sun Apr 17 13:34:31 2022 +0200
1 file changed, 1 insertion(+), 1 deletion(-)
✖ 7ecf53cfb5387c10fef9a53953e370ae1683a55d
✖ 1:0 Co-authored-by must be a trailer co-authored-by-is-trailer
✔ 0:0 skipping fixes-url fixes-url
✔ 0:0 blank line after title line-after-title
✔ 0:0 line-lengths are valid line-length
✔ 0:0 metadata is at end of message metadata-end
✔ 3:8 PR-URL is valid. pr-url
✔ 0:0 reviewers are valid reviewers
✔ 0:0 valid subsystems subsystem
✔ 0:0 Title is formatted correctly. title-format
✔ 0:0 Title is <= 50 columns. title-length

ℹ Please fix the commit message and try again.

https://github.com/nodejs/node/actions/runs/2199723145

@tniessen
Copy link
Member Author

It's prevented from landing by nodejs/core-validate-commit#93 but the real issue is nodejs/node-core-utils#602 once again.

@tniessen
Copy link
Member Author

nodejs/node-core-utils#632 will hopefully resolve the tooling issue.

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 5, 2022
@aduh95 aduh95 merged commit e9f69e8 into nodejs:main Jul 7, 2022
@aduh95
Copy link
Contributor

aduh95 commented Jul 7, 2022

Landed in e9f69e8

targos pushed a commit that referenced this pull request Jul 12, 2022
PR-URL: #42762
Co-authored-by: Rich Trott <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
targos pushed a commit that referenced this pull request Jul 20, 2022
PR-URL: #42762
Co-authored-by: Rich Trott <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
targos pushed a commit that referenced this pull request Jul 31, 2022
PR-URL: #42762
Co-authored-by: Rich Trott <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
guangwong pushed a commit to noslate-project/node that referenced this pull request Oct 10, 2022
PR-URL: nodejs/node#42762
Co-authored-by: Rich Trott <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. build Issues and PRs related to build files or the CI. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants