[Yum-devel] [PATCH 5/7] apply deltamd files and checksum result, retry/revert on failure

Zdenek Pavlas zpavlas at redhat.com
Mon Jul 15 14:40:10 UTC 2013


>  This would change it to:
> 
> 1. metalink.xml (SSL)
> 2. \_ repomd.xml (checksummed from metalink)
> 3.    \_ ????
> 4.       \_ gen/primary.xml (generated from #3, gg)
>                             (also satisfies open checksum)
> 5.          \_ gen/primary.xml.gz.sqlite (generated from #4)
> 
> ...now we can't delete bits of stuff in gen/ ... anyone wanting to

gen/ just keeps the (current version of) decompressed metadata, right?
Why can't we update the files there?

> copy/share our data needs to work out what to replace ???? with.

"????" = (old)primary.xml.bz2 + (chain of)primary.xml.delta.bz2
As long as gen/primary.xml satisfies openchecksum, users should
not care about "????"...

note: if you (in the current Yum) rm primary_db.sqlite.bz2 but
keep gen/primary_db.sqlite, we DON'T re-download the compressed
file, too. As long as openchecksum matches, nobody should care..


More information about the Yum-devel mailing list