[Yum-devel] [PATCH] Do not set up repos in YumOptionParser. BZ 773512.

Zdenek Pavlas zpavlas at redhat.com
Thu Jan 12 13:17:30 UTC 2012


> YumUtilBase. doUtilYumSetup are calling self._getRepos(doSetup =
> True), so it looks safe to me, but I have not tested it

The init order is really hard to predict, even considering yummain.py
alone.  Some commands call base.doRepoSetup() explicitly, others don't.

e.g. 'yum install' sets up repositories in base._getTs(), via accessor
on base.pkgSack..


More information about the Yum-devel mailing list