I wasn't referring to the interface between the client and the repo.
That is a machine-to-machine interface. I was referring to the user and
programming interfaces, e.g., pkg(1) and pkgsend(1) and the
pkg.client.api module.
Tom
P.S. I've always been curious what will happen when we run into the
mathematical certainty of having two different file contents that hash
to the same value. At that time, I certainly hope that the use of hashes
is not such a core part of the design.
Bart Smaalders wrote:
Tom Mueller (pkg-discuss) wrote:
IMHO, the use of hash values by pkg(5) should be kept as an
implementation detail and shouldn't show up in the interface
(publishing or client) at all.
The client checks for differences and retrieves files by hash, so the
repo and client interfaces must be aware of hashes.
Using a hash to exactly specify a file is a core part of the design
of pkg(5), not an implementation detail.
- Bart
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss