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

XZ Utils decompression support for Extension downloads #21407

Open
1 task done
notpeter opened this issue Dec 2, 2024 · 2 comments
Open
1 task done

XZ Utils decompression support for Extension downloads #21407

notpeter opened this issue Dec 2, 2024 · 2 comments
Labels
enhancement [core label] extension infrastructure Feedback for extensions APIs, creation, management, etc

Comments

@notpeter
Copy link
Member

notpeter commented Dec 2, 2024

Check for existing issues

  • Completed

Describe the feature

Zed currently supports zip and .tar.gz / gz for language server downloads.
Consider adding support for .xz archives as well.

Originally requested by @lvignoli here:

Environment

Zed: v0.165.0 (Zed Nightly 89a5696)
OS: macOS 14.7.0
Memory: 64 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@notpeter notpeter added enhancement [core label] triage extension infrastructure Feedback for extensions APIs, creation, management, etc and removed triage labels Dec 2, 2024
notpeter added a commit to zed-industries/extensions that referenced this issue Dec 3, 2024
[Ziggy](https://ziggy-lang.io) support for Zed.

The LSP cannot be installed because of an upstream issue: releases for
ziggy are distributed as `tar.xz`, not `tar.gz`.
As I understand, Zed extension SDK does not support this compression
format.

Linked issues:
- zed-industries/zed#21407
- kristoff-it/ziggy#48

---------

Co-authored-by: Peter Tripp <[email protected]>
@maxdeviant
Copy link
Member

For some added context, we've been holding off on implementing xz support because it involves taking a dependency on liblzma, which was the library that was backdoored earlier this year.

@notpeter
Copy link
Member Author

notpeter commented Dec 4, 2024

Yeah, I figured as much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] extension infrastructure Feedback for extensions APIs, creation, management, etc
Projects
None yet
Development

No branches or pull requests

2 participants