-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-112301: Add Warning Count to Warning Check Tooling #122711
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
Merged
hugovk
merged 50 commits into
python:main
from
nohlson:add-warning-count-to-warning-ignore-files
Aug 14, 2024
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
5148727
Create simple warning check tool and add to ubuntu build and test job
nohlson 3bd5a10
Add flags to check warnings script to fail on regression or improvement
nohlson 6813003
Remove redundant comment
nohlson ab4d754
Rename warnigore file to warningignore
nohlson 615d228
Use regex to extract json arrays
nohlson fc0a60b
Trim whitespace
nohlson 7793d80
Test on github unexpected improvement
nohlson 99715d2
Add config for improve fail check
nohlson bc44ec2
Revert to prod check warning state
nohlson e2ca75f
📜🤖 Added by blurb_it.
blurb-it[bot] bd1634e
Refactor creating set of files with warnings to a dedicated function
nohlson b07b1d6
Move cflags configure option to top level build configuration
nohlson e1954a5
Add json diagnostics to ubuntu configuration as first argument
nohlson 5935143
Add newline to news
nohlson 7f1a238
Create simple warning check tool and add to ubuntu build and test job
nohlson 144136e
Add macos warning checks to GitHub actions
nohlson 3dd40fd
Revert reusable-macos.yml for environment variables
nohlson 1158f53
Update paths
nohlson cb51b4f
Test unexpected improvement
nohlson 77e0f6e
Remove warning ignore
nohlson 3e1d75f
Add json output option to macos configure job
nohlson b5cd58a
Add common dictionary format when parsing warnings
nohlson 02f313e
Remove configure option for macos job
nohlson 83d1ed7
Print out json version of compiler output
nohlson 08a6f6d
Remove old version of warning ignore file
nohlson 7be8ee6
Remove compiler output print diagnostic
nohlson 8b0a2ee
📜🤖 Added by blurb_it.
blurb-it[bot] 49cbd87
Remove superfluous comment
nohlson 522f27c
oMerge branch 'main' into add-macos-warnings-tracking-tooling
nohlson b654a84
Add period to news
nohlson 7780da6
Merge branch 'main' into add-macos-warnings-tracking-tooling
nohlson 3688c5c
Make warning ignore file optional
nohlson cb1f276
Add write compiler output to log and file
nohlson fb91e3e
Fix formatting and update regex
nohlson f35ba60
Fix comment formatting
nohlson 294dd61
Add warning count to check warnigns tooling
nohlson 4056985
Remove duplicate warnings from check warning tooling
nohlson dad672b
Merge branch 'main' into add-warning-count-to-warning-ignore-files
nohlson 4164b81
Trim trailing whitespace
nohlson 8b07ae8
📜🤖 Added by blurb_it.
blurb-it[bot] 17858b9
Reformat news
nohlson f483e04
Merge branch 'main' into add-warning-count-to-warning-ignore-files
nohlson 55e20bd
Update helpers for function argument types
nohlson 566e8cd
Format line length
nohlson f8ae75e
Use named tuple for warning filename and count
nohlson cbf069b
Use proper type
nohlson 26b40d3
Update function signatures and make files with expected warnings list…
nohlson ca519a3
Update Tools/build/check_warnings.py
nohlson f370442
Update Tools/build/check_warnings.py
nohlson 644c117
Add parsing of option from clang output
nohlson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Security/2024-08-06-00-06-23.gh-issue-112301.4k4lw6.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Add ability to ignore warnings per file with warning count in warning checking tooling. | ||
Patch by Nate Ohlson. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Files listed will be ignored by the compiler warning checker | ||
# for the macOS/build and test job. | ||
# Keep lines sorted lexicographically to help avoid merge conflicts. | ||
# Format example: | ||
# /path/to/file (number of warnings in file) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Files listed will be ignored by the compiler warning checker | ||
# for the Ubuntu/build and test job. | ||
# Keep lines sorted lexicographically to help avoid merge conflicts. | ||
# Format example: | ||
# /path/to/file (number of warnings in file) |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.