pydio-core icon indicating copy to clipboard operation
pydio-core copied to clipboard

Add tar binary command support to the compression plugin

Open snw35 opened this issue 8 years ago • 4 comments

This allows the compression plugin to use the tar binary (if found) for the creation and extraction of archive files, which improves performance. It also supports and detects the parallel compression utilities: pigz, lbzip2, and pbzip2. If any of these are installed, then they will be used to compress or extract archive files while utilizing all available CPU threads on the system, increasing performance even further. This will work natively in nearly all flavours of Linux, and Windows is also supported as long as a usable tar binary is present in the command path. It will fall back to using the existing Phar implementation if the tar command is not found.

snw35 avatar Jul 20 '16 17:07 snw35

Can you update the PR to make it compatible again? Not urgent, will probably not be merged before 7.0, but after.

cdujeu avatar Sep 21 '16 07:09 cdujeu

mm, seems like there still are some conflicts, + the PR comes with a merge of 3000+ files... Can you maybe checkout a clean version and submit a new PR from there? thx!

cdujeu avatar Oct 05 '16 15:10 cdujeu

Is that any better now, or would submitting a new PR from a fresh fork still be the best way to go? Thanks

snw35 avatar Oct 05 '16 16:10 snw35

Ok, I think that's cleaned it up. I reset my local copy, rebased my fork onto the latest develop, re-implemented the change in a new commit, and then force-pushed to my repo.

I hope this is OK to merge now - let me know if you'd still like me to create a new fork and start again though, whichever is easier for you to work with.

snw35 avatar Oct 06 '16 11:10 snw35