On Thu, Jul 30, 2009 at 03:17:55PM -0500, Shawn Walker wrote:
> "created": "20050614T080000.234231Z",
> "last-modified": "20090508T161025.686485Z",
> "package-count": 40802,
> "parts": [
> "catalog.base.C": {
Given the way you're writing this, "parts" should map to a dict, not a
list. Or you should do name/dict pairs inside of "parts". I'd rather see
the former.
> "opensolaris.org":{
> "SUNWipkg":[
> {
> "version":"0.5.11,5.11-0.117:20090623T135937Z",
> "_DIGEST": {
> "sha-1": "596f26c4fc725b486faba089071d2b3b35482114",
> },
> },
I don't think you need the private dictionary keys here, because these
aren't digests you're removing from the catalog before computing the
catalog digest, but the digest of the referenced manifest. What you had
before in v3 was fine, I think, but if you want a separate dict filled just
with digests, then you could do that, but call it "digests".
> Please note that the digest and cryptographic information is
> optional since older repositories won't have the information and
> some users of the depot software may choose to not provide it.
While some users of the depot software may choose not to sign manifests or
catalogs, I think that digests should not be optional, except when there
are signatures. Running without digests seems like pointless no-pants
mode.
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss