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

Remove usage of bzip2 #433

Open
Leonidas-from-XIV opened this issue Mar 10, 2022 · 0 comments
Open

Remove usage of bzip2 #433

Leonidas-from-XIV opened this issue Mar 10, 2022 · 0 comments

Comments

@Leonidas-from-XIV
Copy link
Member

We currently use the bzip2 binary to compress release archive and the -j flag to tar to unpack bzip2 archives. This is problematic for portability and also inconvenient for platforms that don't ship with bzip2 (like Windows and increasingly Linux distributions since bzip2 is losing popularity to newer compression standards like XZ or Zstd that are used for packages these days).

As such we should replace our usage of bzip2. Alternatives could be camlbz2 (to keep the exact same compression format at the cost of staying with an increasingly exotic choice) or camlzip which supports gzip and sacrifice some compression ratio while using a popular library and a format that won't go away for decades.

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

No branches or pull requests

1 participant