[Yum-devel] [PATCH] repo.async = 'auto' option

Zdenek Pavlas zpavlas at redhat.com
Wed Apr 18 15:07:43 UTC 2012

> code just needs to set a flag saying "I'm RHNplugin and I'm fixed" :).

Yes, we can delegate the "auto" => "on" to the plugin itself..

opts.async = True (default)
YumRepository.__init__(): self._async = False
RepoFromConfig():         self._async = self.async
The we just add the same to each fixed plugin..

>  We want async=False for repofrompath? Why?

I've seen used it with local paths only, but ok, http:// should work, too..

More information about the Yum-devel mailing list