cob
cob copied to clipboard
Disabled repos are ignored, even if they are enabled with the --enablerepo flag
I have a repository that I prefer to leave disabled until I explicitly enable it, but cob doesn't support this scenario.
The following seems to do the trick, but I'd rather you patch it (knowing the yum codebase a bit better than myself):
In init_hook, instead of
if isinstance(repo, YumRepository) and repo.enabled:
just
if isinstance(repo, YumRepository):
And in S3Repository.__init__:
if repo.enabled:
self.enable()
@rmt thanks for your info, i am looking into this issue now.