Skip to content
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

Provide a script to remove all checked binaries from your local environment #4089

Closed
MichaelSimons opened this issue Feb 2, 2024 · 2 comments
Assignees
Labels
area-infra Source-build infrastructure and reporting

Comments

@MichaelSimons
Copy link
Member

MichaelSimons commented Feb 2, 2024

This is needed to support distro-maintainers who have policies the prohibit checked-in binaries. See #4088 for additional details.

The existing binary detector tool/test may be useful in detecting which binaries to strip.

Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ellahathaway
Copy link
Member

Per dotnet/installer#18563 (comment), the direction of this work has changed.

We will now have a separate list of files/patterns that should be deleted with a provided script. This list will be easily parseable in bash. The list will be located in each repo, and if that repo has submodules, then the exclusion file 'speaks' for the inlined submodules. The binary check keys off this in repo legs, and the exclusion script just reads patterns from the file to delete. This binary check will also check for any additional binaries not in the list. This work should be completed alongside #4108

As such, the work for this issue will be part of building up the binary removal and validation infra in Arcade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infra Source-build infrastructure and reporting
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants