On 01/14/10 09:50 AM, Tom Mueller wrote:
Has there been any thought given to the idea of using the ELF comparison
at publish time so that when a file is published with the same ELF
content as a file that is already in the repository, no new file would
be created in the repository, and the action would be set so that the
hashval is the same as the existing file? This would eliminate the need
for having ELF hashes in actions and would still get the benefit of
reducing downloads for "unchanged" ELF files, while at the same time
eliminating this problem of having files on different systems that are
both the "same" and "different" (depending on how the files are compared).

We plan on making elfhash a generic content hash and to expand the algorithm to other file types in the future. For example, .pyc files.

Perhaps Danek knows why it was chosen to be used client-side instead of at publication time.

Regardless, this behaviour won't be changing for the 2010.x release.

--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to