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.

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to