Support bzip2#14
Conversation
|
I don't think the CI failure is my fault. Travis runs this with node 0.10 - the sub-dependency which is failing (https://github.com/atom/fs-plus) only supports node 6 and higher. |
|
Should I open a new pull request to bump the Node version Travis uses? (Otherwise, I don't think there's a chance the CI pipeline will succeed.) |
|
@YtvwlD, I confirmed that your PR passes the checks using node 6. What you are suggesting would be ideal, ping me once you have the PR ready and I will merge it in. |
|
I rebased this PR onto current master. This should make the CI succeed. |
|
Hi @YtvwlD I am currently taking a look at this PR, awesome stuff! I am trying to get this to work locally, I did some linking from |
|
I'm not quite sure I understand what you mean. I could extract There's no integration in Running this on the command line works for me: |
|
Thanks @YtvwlD, I thought you tested it on atom. I get it now 👍 |
Issue or RFC Endorsed by Atom's Maintainers
This is mostly an effort to implement atom/archive-view#31, but may be useful for other packages outside of Atom.
Description of the Change
This adds functionality to open bzip2 files and bzip2 wrapped tar archives.
I mostly copied the code and tests for gzip files.
The actual decompression of bzip2 is done by an added dependency.
Alternate Designs
There's a big amount of duplicate code on this package.
Instead of reorganizing stuff, I tried to add this feature while keeping the diff small.
Possible Drawbacks
Opening bzip2 files may be slower than gzip files, because the compression is slower and because it is being done by a JavaScript library instead of Node itself.
Verification Process
There are tests, but just try to open a .tar.bz2 file, list its contents and extract a file.
Release Notes
Supports to open bzip2 files and bzip2 wrapped tar archives now.