Add possibility to suppress warnings in GitRepository issue provider#1172
Add possibility to suppress warnings in GitRepository issue provider#1172pascalberger merged 10 commits intodevelopfrom
Conversation
Co-authored-by: pascalberger <2190718+pascalberger@users.noreply.github.com>
Co-authored-by: pascalberger <2190718+pascalberger@users.noreply.github.com>
2a9ce44 to
216ba31
Compare
|
https://gh.io/copilot-coding-agent-docs Your environment has been updated that you can build locally and run the build script to ensure CI builds are working and you can find detailed contribution instructions in copilot-instructions.md. Ensure build script runs successfully. |
Co-authored-by: pascalberger <2190718+pascalberger@users.noreply.github.com>
Build script is now running successfully! Fixed the test issues that were preventing the build from passing. All tests are now passing with proper exclusion logic testing and correct FilePatternMatcher escape character handling. Commit: 7426188 |
|
@copilot Analyze if we can use Cake.Core.IO.Globber (https://github.com/cake-build/cake/blob/6476d1703101e28aa3883ca3867c8de44afe8e0e/src/Cake.Core/IO/Globber.cs) instead of implementing our own FilePatternMatcher. Also move the additional example in the documentation to a separate page in an |
Co-authored-by: pascalberger <2190718+pascalberger@users.noreply.github.com>
I've completed both requested tasks: Documentation Restructuring: ✅
Globber Analysis: ✅
Key Finding: Cake.Core.IO.Globber is designed for file system enumeration ( Recommendation: Keep the current FilePatternMatcher implementation as it efficiently handles our exact use case. The Globber would require significant workarounds and file system access for functionality we already have working well. Commit: 5515d3f |
Co-authored-by: pascalberger <2190718+pascalberger@users.noreply.github.com>
This PR adds comprehensive warning suppression functionality to the GitRepository issue provider, allowing users to exclude specific files from repository analysis using glob patterns.
Key Features
🎯 Flexible Exclusion Options
FilesToExcludeaffects all repository checks🔍 Powerful Pattern Matching
The
FilePatternMatcherutility supports full glob-style patterns:*.tmp- matches all temporary files**/*.dll- matches DLL files in any subdirectorytemp/**- matches all files in temp directoriesfile?.txt- single character wildcards💻 Usage Examples
Implementation Details
FilePatternMatcherdesigned specifically for this use case after analyzing Cake.Core.IO.Globber feasibilityThis addresses the common need to suppress warnings for build artifacts, temporary files, and generated code while maintaining fine-grained control over which checks are affected.
Fixes #482.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.