Packaging ā How to compress for release packages?
7zip is a great algorythm, and my #1 choice for compressing.
Unfortunately, or not, it does not save unix permissions.
So one way would be to 7zip a tar file, like it is done very often with bzip2 or gzip, for a tar.bz2 and tgz.
Another way is to skip 7zip.
For MumPI 1.2 I did create pretty much any option there is (default compression ratio for all of them, using 7zr and tar on Debian) and thought Iād share compression ratios.
MumPI is a PHP web interface, so a lot of text documents, nothing more.
file-ending |
---|
tar |
zip |
tgz (/tar.gz) |
tar.bz2 |
tar.7z |
7z |
As expected.
In the future, I will pack tar.7z for Unix, and 7z for windows.
Maybe tgz and tar.bz2 for compatibility.
But driving ppl. to use the better software is a good thing to do, right? š
Interesting sidenote:
7zipping on windows: 274,331
7zipping on unix: 274,068
Probably because of different versions or sth.