Description of problem: In fedora-development.repo, we have the line: deltaurl=http://www.lesbg.com/jdieter/updates/development/$basearch In the yum-presto plugin, there's the following code: def config_hook(conduit): # Set up repository specific deltarpm url and mirrorlist config.RepoConf.deltaurl = config.UrlListOption() Later, in postreposetup_hook, we try to access this configuration with: print repo.deltaurl where repo is an active repository (we actually loop through all of them). The result: None for all active repositories (including development) Version-Release number of selected component (if applicable): yum-3.1.6-2.fc7 How reproducible: Always
I suspect this is related to http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236512. I would guess that the configuration options aren't getting set before postreposetup_hook (along with the rest of the repository information).
James -- this is due to some of the metaclass magic... we only set up the options that get looked at for the config objects when the classes are created as opposed to letting plugins add options to the classes before they're instantiated.
I've reverted the metaclass changes to the config module, so everything will be as once it was.