I'm interrested in reproductible compression :
I have a file (zip or 7z), containing several files.
When I remove a file fom it, add it again, it shouldn't change the file.
When I add a file to an existing archive, or create again from all the (uncompressed) files, it should make the same file.
It's used to share an archive, transmit patchs and ensuring everybody has the same file, no matter if they just got the complete last file or updated it from a previous version.
Here's what I found that works, and can be extracted with any extractor for the original format:
based on zip:
https://sourceforge.net/projects/trrntzip/ torrentzip
http://www.gotwalls.com/files/trrntzip-comment-fix.diff a patch to fix zip files with multiple comments
https://github.com/arogl/trrntzipDN an alternative implementation in .NET
based on 7zip:
https://sourceforge.net/projects/t7z/ torrent7zip
Is there any other/better archive encoder which can give the same guarantees ?
How hard would it be to adapt it to other archivers with compression ?