<div dir="ltr">Hi,<div><br></div><div style>I have a software product being built a few times a day (continuous integration style). The end product is an installable tar.gz with many java jars.</div><div style><br></div><div style>
Since the content of the tar.gz&#39;s is mostly the same, I want to use a filesystem that would dedupe the duplicated content.</div><div style><br></div><div style>As I see it, it&#39;s s FUSE filesystem that:</div><div style>
<br></div><div style>1. When a file with .tar.gz extension stored, it untar it and store it in a folder (keeping the file order in a list).</div><div style>2. When it is read again, it will tar gz the underlying folder, and will give the gzip&#39;d result.</div>
<div style>3. It will keep a list of file hashes, and would replace the file with a symlink to another file if possible.</div><div style>4. Bonus: do the same for jars. Java is linked at runtime, so if a .java file didn&#39;t change - neither does its class.</div>
<div style><br></div><div style>Is there anything like that available?</div><div style>Is there a smarter solution?</div><div style><br></div><div style>(It is theoretically possible to save a folder instead of a tar.gz, and dedupe at higher level, but it&#39;s much easier to use a tar.gz, since it plays well with existing Java software (ie, nexus/artifactory, maven etc).</div>
</div>