/cmspkg/cache/repo-name:/architecture:/cache-name:
Returns meta-data information about packages avilable in cache-name. Each package contains the revisions of the package and for each revision its package-hash, file-name and optionally file-md5sum and file-size of the file. It also contains list of any additioanl/forced dependencies for the package.
{
"external+A+1.1": { <--------------------------------- package
"1": [ <------------------------------------------- revision
"ac849a7d586fc3c9cd8cfb0550a78e3d", <------------- package-hash
"external+A+1.1-1-1.slc6_amd64_gcc530.rpm", <----- file-name
"a993899c2681831d418573da4393a0b8", <------------- file-md5sum
8821, <------------------------------------------- file-size
[] <---------------------------------------------- dependencies
]
},
"external+B+1.0": {
"1": [
"12c5d488d0bf9512432bedfe81cb2560",
"external+B+1.0-1-1.slc6_amd64_gcc530.rpm",
"6de0bb4cc649e68d0a58a6672dbad6ea",
8841,
[]
]
},
"hash": "3f534caae54699ff2f8e21b9d875bd48345b75839de3940c8b09ed10afcab839"
}
In order to verify the contents of the cache, remove the hash key from the cache and calculate the sha256 of the cache. If it does not match the hash then contents of cache were not properly transferred.