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

tools: add compile_commands to ignore file #41580

Merged
merged 1 commit into from
Jan 24, 2022

Conversation

yashLadha
Copy link
Contributor

When doing C++ development for static analysis LSP (clangd) is dependant on the compile_commands.json file which can be generated for nodejs project using ./configure -C option. Though that file is helpful for development and great tooling should not get tracked.

Added the compile_commands.json file to ignore files.

@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Jan 18, 2022
For developing c++ source files, clangd generates an index file for
project via `./configure -C`. We can safely ignore the file from
tracking.
@targos targos added the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 24, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 24, 2022
@nodejs-github-bot nodejs-github-bot merged commit 3ee8c3e into nodejs:master Jan 24, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 3ee8c3e

@nodejs-github-bot nodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Jan 24, 2022
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/41580
✔  Done loading data for nodejs/node/pull/41580
----------------------------------- PR info ------------------------------------
Title      tools: add compile_commands to ignore file (#41580)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     yashLadha:exclude_compile_commands -> nodejs:master
Labels     meta
Commits    1
 - tools: add compile_commands to ignore file
Committers 1
 - Yash Ladha 
PR-URL: https://github.com/nodejs/node/pull/41580
Reviewed-By: Richard Lau 
Reviewed-By: Luigi Pinca 
Reviewed-By: Michaël Zasso 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/41580
Reviewed-By: Richard Lau 
Reviewed-By: Luigi Pinca 
Reviewed-By: Michaël Zasso 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Tue, 18 Jan 2022 15:49:45 GMT
   ✔  Approvals: 3
   ✔  - Richard Lau (@richardlau) (TSC): https://github.com/nodejs/node/pull/41580#pullrequestreview-855654120
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/41580#pullrequestreview-855756809
   ✔  - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/41580#pullrequestreview-861036653
   ⚠  This PR was merged on Mon, 24 Jan 2022 14:39:31 GMT
   ✔  Last GitHub CI successful
   ℹ  Green GitHub CI is sufficient
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/1740412607

BethGriggs pushed a commit that referenced this pull request Jan 25, 2022
For developing c++ source files, clangd generates an index file for
project via `./configure -C`. We can safely ignore the file from
tracking.

PR-URL: #41580
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Linkgoron pushed a commit to Linkgoron/node that referenced this pull request Jan 31, 2022
For developing c++ source files, clangd generates an index file for
project via `./configure -C`. We can safely ignore the file from
tracking.

PR-URL: nodejs#41580
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams pushed a commit that referenced this pull request Mar 2, 2022
For developing c++ source files, clangd generates an index file for
project via `./configure -C`. We can safely ignore the file from
tracking.

PR-URL: #41580
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams pushed a commit that referenced this pull request Mar 3, 2022
For developing c++ source files, clangd generates an index file for
project via `./configure -C`. We can safely ignore the file from
tracking.

PR-URL: #41580
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams pushed a commit that referenced this pull request Mar 14, 2022
For developing c++ source files, clangd generates an index file for
project via `./configure -C`. We can safely ignore the file from
tracking.

PR-URL: #41580
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commit-queue-failed An error occurred while landing this pull request using GitHub Actions. meta Issues and PRs related to the general management of the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants