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

cli: determine archive type based on filename instead of path #224605

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

connor4312
Copy link
Member

Closes #219632

Seems like PRSS sometimes(?) doesn't return the full archive name in the response. I don't reproduce this, but others consistently do. This PR removes the dependency on the URL path and instead checks for the gzip magic number in the first two bytes of the archive to figure out what to do.

Refs #219632

Seems like PRSS sometimes(?) doesn't return the full archive name in
the response. I don't reproduce this, but others consistently do. This
PR removes the dependency on the URL path and instead checks for the
gzip magic number in the first two bytes of the archive to figure out
what to do.
@connor4312 connor4312 merged commit 058efcf into release/1.92 Aug 5, 2024
7 checks passed
@connor4312 connor4312 deleted the connor4312/issue-219632-candidate branch August 5, 2024 21:19
zongou pushed a commit to zongou/vscode that referenced this pull request Aug 13, 2024
…oft#224605)

Refs microsoft#219632

Seems like PRSS sometimes(?) doesn't return the full archive name in
the response. I don't reproduce this, but others consistently do. This
PR removes the dependency on the URL path and instead checks for the
gzip magic number in the first two bytes of the archive to figure out
what to do.
mustard-mh pushed a commit to gitpod-io/openvscode-server that referenced this pull request Sep 2, 2024
…oft#224605)

Refs microsoft#219632

Seems like PRSS sometimes(?) doesn't return the full archive name in
the response. I don't reproduce this, but others consistently do. This
PR removes the dependency on the URL path and instead checks for the
gzip magic number in the first two bytes of the archive to figure out
what to do.
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants