Repository navigation
[ci] Remove obsolete p7zip and binutils suppression remnants - #13379
Merged
simonrozsival merged 2 commits intoNov 4, 2026
Merged
Conversation
The bundled binutils license notice has already been retired. Remove only its four GPLv3-specific PoliCheck suppressions, leaving all other suppressions and the current shipped notices unchanged. Delete the unused Xamarin.ProjectTools.SevenZipHelper test helper and stop installing p7zip in public Linux/macOS setup. Current build and pipeline tools do not require it. Preserve the historical bundle.7z download instructions and the other Linux build dependencies. Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the cleanup of obsolete p7zip and bundled-binutils remnants.
No open issues 🎉
What changed in this PR
Removes obsolete p7zip and bundled-binutils remnants from .NET for Android’s CI setup and test utilities.
Changes:
- Removes four PoliCheck suppressions for the retired GNU-binutils GPLv3 notice.
- Deletes the unused
SevenZipHelpertest utility. - Removes public Linux/macOS p7zip installation while preserving
cmake,ninja-build, andccache.
| File | Description |
|---|---|
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Utilities/SevenZipHelper.cs |
Deletes the unused 7-Zip extraction helper. |
build-tools/automation/yaml-templates/setup-test-environment-steps.yaml |
Removes public Linux/macOS p7zip setup steps. |
build-tools/automation/yaml-templates/build-linux-steps.yaml |
Removes p7zip from Linux build dependencies. |
.gdn/policheck/source.gdnsuppress |
Removes four obsolete binutils license suppressions. |
Review effort: Balanced
simonrozsival
enabled auto-merge (squash)
November 3, 2026 14:06
Remove the historical release-bundle download and 7-Zip extraction instructions from the native debugging tips. Keep the guidance for using debug symbols from a custom local build and loading them in LLDB. Co-authored-by: Copilot App <[email protected]>
Member
Author
|
@dalexsoto review |
dalexsoto
approved these changes
Nov 4, 2026
dalexsoto
left a comment
Member
There was a problem hiding this comment.
Reviewed the p7zip dependency cleanup, CI template and provisioning consumers, obsolete helper removal, and suppression changes. I found no blocking correctness issue in this revision.
simonrozsival
disabled auto-merge
November 4, 2026 10:26
simonrozsival
disabled auto-merge
November 4, 2026 10:44
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.
Context: #13200
The completed LLVM/binutils retirement left four PoliCheck suppressions for GNU-binutils GPLv3 license text that is no longer in
THIRD-PARTY-NOTICES.TXT. Public Linux/macOS setup also still installs p7zip, although the only executable7zconsumer left in the tree is the unusedXamarin.ProjectTools.SevenZipHelpertest helper.Remove those four suppressions, delete
SevenZipHelper, and stop installing p7zip. The helper has no callers or explicit project-file inclusion; SDK compile globs need no corresponding change. Keep the other Linux build dependencies:cmake,ninja-build, andccache.Current extraction paths do not need a replacement: Android SDK setup uses
unzip/managed ZIP APIs, workload extraction uses MSBuildUnzip, and the Unix .NET installer usestar. Inspection of the exact pinnedapkdiff0.0.17 anddotnet-test-slicer0.1.0-alpha7 source commits found no 7-Zip dependency.Remove the remaining historical release-bundle download and extraction instructions from
Documentation/workflow/DevelopmentTips.mdas well. Keep the instructions for obtaining debug symbols from a custom local build and loading them in LLDB. No 7-Zip references remain in tracked source or documentation; broader substring matches are only an unrelated timestamp and encoded Alpine public-key data.The shipped notices already contain no GNU-binutils or p7zip entry. Leave them unchanged, including the Android documentation GPLv2/Classpath material. All unrelated suppressions remain intact.
Validation
The code/setup cleanup was validated on macOS at
b0e029a247e3ad4f5ade67991ff6590c6c9e81f8, based directly onmaincommit0f31c5667fd31777170801e7603596a3ab1e6e2a. The documentation-only follow-up is91e2f2dab65c65bba10602c1d9dfbbe5174e65a3.Passed. Structured comparisons against the base also confirm that exactly the four matching suppressions were removed, all other JSON data is unchanged, and the YAML edits affect only p7zip setup. All four remaining inline Bash steps passed
bash -n.git diff --check origin/main...HEADalso passed after the documentation follow-up.git grep -I -n -i -o -E 'SevenZip|p7zip|7[- ]?zip|(^|[^a-zA-Z0-9_])7z(a|r)?([^a-zA-Z0-9_]|$)|\.7z'No matches after the documentation follow-up (expected exit status 1). A broader
git grep -I -n -i -o -E '7z|seven[ _-]?zip|7[ _-]?zip'found only the unrelated timestamp and encoded public-key data noted above; no archive-tool filenames remain either.Both passed with zero warnings/errors at
b0e029a247e3ad4f5ade67991ff6590c6c9e81f8. The initial ProjectTools build failed with MSB4062 because the fresh worktree lackedxa-prep-tasks.dll; building the prerequisite resolved it without source changes. Builds were not rerun for the documentation-only follow-up.No full SDK/device/emulator/benchmark tests or hosted pipeline execution were run for this unused-helper and setup cleanup. Hosted Azure template expansion and CI status remain unverified.