feat(packer): add compression support for extrafiles#102
Merged
stapelberg merged 1 commit intoJun 1, 2026
Conversation
Contributor
Author
|
cc. @stapelberg |
Contributor
Author
|
Closing/reopening to kick off testing again |
Contributor
|
Why not zstd? It’ll eventually be in the standard library, if that’s the reason you reached for gzip :) golang/go#62513 |
e15bcdb to
a7d9f8b
Compare
Contributor
Author
|
Yeah I thought about zstd, I went with gzip for 2 reasons:
I am in favour of dropping gzip in favour of zstd (for mac users it'll require |
Contributor
Author
|
Ok just pushed an update to use zstd. |
Contributor
Author
|
Ready for a review :) |
stapelberg
approved these changes
Jun 1, 2026
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.
GitHub has a hard limit of 100MB for extra files.
If these files are mostly text based (e.g. code), a quick win to circumvent this is to compress/decompress them.
This PR adds support for gzip compressed archives.