Repository navigation
Conversation
Split the source-build-reference-packages license scan into separate pipeline jobs - one per subdirectory under src/source-build-reference-packages/src/ plus a root scan with --ignore src for non-src content. This avoids the scancode timeout caused by processing too many files in a single run (dotnet/source-build#5470). Co-authored-by: Copilot <[email protected]>
- Derive repoName from _relativeScanPath instead of the absolute path to avoid matching an earlier src/ segment in the filesystem hierarchy. - Build scancode ignore patterns dynamically from subdirectory names instead of ignoring 'src' wholesale, so files directly under src/ (e.g. SourceBuildAssemblyMetdata.cs) are still scanned by the root job. Co-authored-by: Copilot <[email protected]>
The semicolons in the SourceBuildTestsLicenseScanIgnorePatterns value were interpreted by bash as command separators since the script block uses YAML folded scalar (single line). Switch to comma as the delimiter in both the pipeline and C# code. Co-authored-by: Copilot <[email protected]>
MSBuild interprets commas in /p: values as property separators. Quote the entire argument so the comma-delimited list is treated as a single property value. Co-authored-by: Copilot <[email protected]>
Commas are special to MSBuild even when quoted on the command line. Switch to space-delimited patterns which are safe for bash, MSBuild, and JSON. The quoted argument ensures bash treats the space-separated list as a single value. Co-authored-by: Copilot <[email protected]>
NikolaMilosavljevic
approved these changes
Apr 15, 2026
NikolaMilosavljevic
left a comment
Contributor
There was a problem hiding this comment.
Once this PR is merged I'll rebase my pending PR for sbrp rename and make additional changes to account for that rename.
mthalman
enabled auto-merge (squash)
April 15, 2026 18:01
…or call The ExclusionsHelper constructor takes 3 parameters (exclusionsFileName, baselineSubDir, exclusionRegexString) but the call was passing 4 arguments including Config.LogsDirectory which is not needed since GenerateNewBaselineFile already references Config.LogsDirectory directly. Co-authored-by: Copilot <[email protected]>
NikolaMilosavljevic
approved these changes
Apr 16, 2026
Member
Author
|
/backport to release/10.0.2xx |
Member
Author
|
/backport to release/10.0.3xx |
Contributor
|
Started backporting to |
Contributor
|
Started backporting to |
This was referenced Apr 16, 2026
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.
Backport of #6009