Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Handle 7zip extraction separately #1548

Merged
merged 9 commits into from
Dec 9, 2024

Conversation

JavierMatosD
Copy link
Contributor

@JavierMatosD JavierMatosD commented Dec 3, 2024

Use 7zip for extraction whenever possible and create a separate extraction path for all .7z.exe extensions. We will assume it is 7zip that is being extracted.

Summary provided by CoPilot:

Support for self-extracting 7z archives:

Testing updates:

Code improvements:

  • src/vcpkg/archives.cpp: Introduced the stem variable to help with the differentiation logic for self-extracting 7z archives.

Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approval is contingent on microsoft/vcpkg#42370 being squashed into a single commit on top of github.com/microsoft/vcpkg master, and vcpkg-scripts-sha.txt updated to point to that exact commit SHA, as I described in microsoft/vcpkg#42370 (review)

@BillyONeal BillyONeal merged commit 1005b78 into microsoft:main Dec 9, 2024
6 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants