#60 Add checksum of package to modulemd (artifacts)
Opened by ignatenkobrain. Modified

So the primary.xml, filelists.xml have thing called checksum which is checksum of a package. This is how reading filelists is fast. We need to do same for modularity.

In artifacts.


Don't you have all the data in the repo already? Within the same repo the same NVRA will only have checksum -- the one in filelists.xml. Pairing these by the NVRA should be easy.

Anyway, assuming this would be extremely impractical, could you point me to repodata specification, especially the part where these checksums are defined?

NVRA lookups are super slow.. (and also it should really contain Epoch, but that's another thing).

This is checksum of RPM file (sha256 at this point). Unfortunately, repomd file format doesn't have specifications (it used to, but it was on Duke university (or so))..

<metadata xmlns="http://linux.duke.edu/metadata/common" xmlns:rpm="http://linux.duke.edu/metadata/rpm" packages="48328">

Metadata