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,meta: rearrange and narrow git ignore rules #27954

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

refack
Copy link
Contributor

@refack refack commented May 29, 2019

Non trivial change to .gitignore

  • Add file header
  • Add section headers
  • Add comments
  • Group and rearrange rules by role
  • Narrow rules that refer to files in the root folder
  • node_modules rules based on tools: update eslint #27670
  • Remove old and unused rules (/coverage, iojs, tmp)

might need more validation by human developers different platforms

as documented in the file:
To test conflicts, run git ls-files -i --exclude-standard.
To check why a specific file is ignored, run git check-ignore -v [-n] [--no-index] <filepath> .

/CC @nodejs/build-files @nodejs/documentation @nodejs/testing @nodejs/linting

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@refack refack mentioned this pull request May 29, 2019
4 tasks
.gitignore Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
Copy link
Member

@Trott Trott left a comment

Choose a reason for hiding this comment

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

A bit rubber-stamp-y of me, but LGTM.

@nodejs-github-bot
Copy link
Collaborator

@refack refack self-assigned this Jun 3, 2019
@refack refack added build Issues and PRs related to build files or the CI. tools Issues and PRs related to the tools directory. labels Jun 3, 2019
PR-URL: nodejs#27954
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@refack refack merged commit d911789 into nodejs:master Jun 3, 2019
@refack refack deleted the gitignore++++ branch June 3, 2019 17:42
@refack refack removed their assignment Jun 6, 2019
BridgeAR pushed a commit that referenced this pull request Jun 17, 2019
PR-URL: #27954
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@BridgeAR BridgeAR mentioned this pull request Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants