On Mon, 2011-10-17 at 03:11 -0400, Zdenek Pavlas wrote: > > > + self.plugins.run('prereposetup') > > > + self.plugins.run('postreposetup') > > > > We can't call these when we aren't actually setting up the repos. > > > > We almost certainly "just" need to create prerepoconfig and > > postrepoconfig plugin hooks (probably called from _getRepos), and > > then move the creation of dynamic repos. into those calls. > > Another possibility is to make 'yum clean' operate on all repos, > not just the enabled ones. If user has disabled a repo, he likely > does not need to keep metadata, I guess.
I'd thought about doing this before ... esp. having something like having "yum clean all" remove everything. But all the other commands just operate on the enabled repos. ... and it would be a small good surprise but a very big bad surprise. So after discussion it seemed like one of those things where "perfect" would be the enemy of good. _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel