-
Notifications
You must be signed in to change notification settings - Fork 441
Binary tooling #18726
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
Binary tooling #18726
Conversation
@MichaelSimons @mthalman - This is still a work in progress, but I wanted to get your thoughts on the configuration of this tool. Ideally, the tool will work by running |
src/SourceBuild/content/eng/tools/BinaryDetection/BinaryDetection/BinaryDetection.csproj
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolCli/BinaryToolCli.csproj
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/BinaryTool.csproj
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolCli/nuget.config
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolTask/BinaryToolTask.csproj
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/CompareBinariesAgainstBaseline.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/Driver.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/Driver.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/Driver.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/ProcessManager.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/BinaryTool.csproj
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolTask/BinaryToolTask.csproj
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolTask/BinaryToolTask.csproj
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolCli/BinaryToolCli.csproj
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolCli/Program.cs
Outdated
Show resolved
Hide resolved
…fy functionality w RMEs
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/CompareBinariesAgainstBaselines.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/DetectBinaries.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/Driver.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/Driver.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/RemoveBinaries.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolCli/Program.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryToolCli/Program.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/Driver.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/DetectBinaries.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/DetectBinaries.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/BinaryTool/CompareBinariesAgainstBaselines.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/DetectBinaries.cs
Outdated
Show resolved
Hide resolved
src/SourceBuild/content/eng/tools/BinaryToolKit/DetectBinaries.cs
Outdated
Show resolved
Hide resolved
a62be65
to
2fe5175
Compare
8bee5d7
to
6616e41
Compare
d4d6cae
to
b63671b
Compare
Related to dotnet/source-build#4089 and dotnet/source-build#4108
This PR introduces tooling to detect, validate, and remove binaries. This tooling can be used on any given
TargetDirectory
, and it is integrated intoprep-source-build.sh
.This tool follows the file globbing parameters as specified in https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.filesystemglobbing.matcher?view=dotnet-plat-ext-8.0#remarks. The
allowed-binaries.txt
file was modified in this PR to comply with those patterns.Sample run (updated 3/1/24): https://dev.azure.com/dnceng/internal/_build/results?buildId=2391859&view=results (internal link)