Repository navigation
Add support for bzip3 - #522
Conversation
|
Good job! I have a branch with this implemented as an experiment, sort of, look at main...bzip3, our code looks very similar. I've been busy so I'm really glad to have your help. Previous ContextI encountered two blockers:
New Context
Seems like you just found a new blocker:
To temporarly ignore this blocker (while we wait for a - bzip3 = "0.8.1"
+ bzip3 = { git = "https://github.com/marcospb19/bzip3-rs", branch = "make-build-script-run-in-stable-1" }That's my branch with the fix. |
marcospb19
left a comment
There was a problem hiding this comment.
Your code looks better than mine!
It's just missing the test code (it's basically one line)
And another requested change,
|
Now the CI is failing to build I don't know how to solve this for Ubuntu, MacOS and Windows, do we need to clone the repo and build it from scratch? 😭 Perhaps installing |
|
Not sure what's the best way to do it on windows, It's available for brew so macos should be easy to take care of, it is only available on ubuntu 23.04+ so we might have to use brew for linux as well |
ec92bc2 to
c870385
Compare
b2153b4 to
65d1229
Compare
|
I force-pushed a rebase to solve conflicts, and temporarily disabled some CI targets so that we can focus on the code problem for now. |
marcospb19
left a comment
There was a problem hiding this comment.
Almost done, there is just one last problem:
Closes ouch-org#398 Signed-off-by: Jonas Frei <freijon@pm.me>
Signed-off-by: Jonas Frei <freijon@pm.me>
b5c4afd to
b051768
Compare
Closes #398
Signed-off-by: Jonas Frei freijon@pm.me
This PR adds support for the bzip3 format. I tested it to the best of my knowledge and it seemed to work fine. Unlike the other formats, one can not modify the compression level directly. Bzip3 works with block sizes which can be varied. I chose a block size of 5MB which yielded good results with most examples I tested.
tryblock and may cause complications at build timeP.S. I'm a Rust noob and did this primarily as a proof of concept. Let me know what you think about this.