tools: fix C++ import checker argument expansion#34582
Closed
addaleax wants to merge 4 commits intonodejs:masterfrom
Closed
tools: fix C++ import checker argument expansion#34582addaleax wants to merge 4 commits intonodejs:masterfrom
addaleax wants to merge 4 commits intonodejs:masterfrom
Conversation
Fix linter failures when running the linter on all source files.
Makefile assumes that it can pass a list of files to the import checker, whereas the import checker expects a single argument that is interpreted as a blob. Fix that mismatch by accepting multiple arguments in the import checker. Refs: nodejs#34565
Collaborator
jasnell
approved these changes
Jul 31, 2020
4 tasks
richardlau
approved these changes
Jul 31, 2020
Member
|
There's still some sort of weirdness going on. The but I'm seeing more failures when I run against a fresh clone locally: |
Member
|
Unfortunately it looks like Jenkins is currently broken (nodejs/build#2362 (comment) cc @nodejs/build-infra) -- would be interesting to see how the CI linter results tally. |
devnexen
approved these changes
Jul 31, 2020
Collaborator
richardlau
reviewed
Aug 3, 2020
Co-authored-by: Richard Lau <riclau@uk.ibm.com>
Collaborator
This was referenced Aug 4, 2020
lpinca
approved these changes
Aug 4, 2020
This was referenced Aug 5, 2020
richardlau
approved these changes
Aug 6, 2020
Member
Author
|
I can do a manual backport |
This was referenced Aug 7, 2020
Collaborator
Member
|
Landed in 93959b2...318c982 |
jasnell
pushed a commit
that referenced
this pull request
Aug 7, 2020
Makefile assumes that it can pass a list of files to the import checker, whereas the import checker expects a single argument that is interpreted as a blob. Fix that mismatch by accepting multiple arguments in the import checker. Refs: #34565 PR-URL: #34582 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This was referenced Aug 8, 2020
addaleax
added a commit
that referenced
this pull request
Aug 8, 2020
Makefile assumes that it can pass a list of files to the import checker, whereas the import checker expects a single argument that is interpreted as a blob. Fix that mismatch by accepting multiple arguments in the import checker. Refs: #34565 PR-URL: #34582 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This was referenced Aug 9, 2020
Merged
This was referenced Aug 11, 2020
codebytere
pushed a commit
that referenced
this pull request
Aug 11, 2020
Makefile assumes that it can pass a list of files to the import checker, whereas the import checker expects a single argument that is interpreted as a blob. Fix that mismatch by accepting multiple arguments in the import checker. Refs: #34565 PR-URL: #34582 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This was referenced Aug 12, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src: fix linter failures
Fix linter failures when running the linter on all source files.
tools: fix C++ import checker argument expansion
Makefile assumes that it can pass a list of files to the import
checker, whereas the import checker expects a single argument
that is interpreted as a blob.
Fix that mismatch by accepting multiple arguments in the import
checker.
Refs: #34565
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes