Skip to content

Conversation

@theoparis
Copy link

What does this PR do?

Adds zstd compression support to the Bun package manager. I also allowed other formats to be installed besides tarballs. In terms of code size it shouldn't really impact it since zstd is already included and libarchive is still only built with minimal features.

I'm not sure removing the "deflate wrapper" code is the right approach, however it simplifies the code and uses libarchive to actually handle the decompression.

How did you verify your code works?

I confirmed the package manager still works in my personal website project.

@theoparis
Copy link
Author

I just realized this might be less efficient because it's passing the entire tgz_bytes array instead of streaming it with libarchive 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant