[Yum-devel] [PATCH 1/3] self.repoXML: no eager downloading of metadata.

James Antill james at fedoraproject.org
Fri Mar 23 19:44:52 UTC 2012


On Thu, 2012-03-22 at 16:03 +0100, Zdeněk Pavlas wrote:
> When we touch repoXML and download a new repomd.xml,
> don't immediately download all of the metadata.

 In theory you can do something like this ... _but_:

1. You have to keep the revert behaviour, it was added for a reason and
a bunch of stuff relies on it.

2. You can't break mdpolicy.

3. Are there really that many code paths where this doesn't just move
where we block?

...why don't you just add an explicit entry point somewhere that we call
which basically says "check all repomd.xml for all repos. ... and do
async downloads of metadata".

> YumPackageSack.populate() already implements that,
> avoid duplicating the code.

 No.



More information about the Yum-devel mailing list