This is a wrapper for calling YumBase.getKeyForRepo() because otherwise we take a real reference through the bound method and that is d00m (this applies to YumBase and RepoStorage, hence why we have a seperate class). A “better” fix might be to explicitly pass the YumBase instance to the callback ... API change!
This class contains multiple repositories and core configuration data about them.
disable a repository from use
fnmatch wildcards may be used to disable a group of repositories. returns repoid of disabled repos as list
enable a repository for use
fnmatch wildcards may be used to enable a group of repositories. returns repoid of enables repos as list
find all repositories matching fnmatch pattern
return list of enabled repo objects
return a list of repo objects that have groups enabled
This populates the package sack from the repositories, two optional arguments:
- which=’repoid, enabled, all’
- mdtype=’metadata, filelists, otherdata, all’
sets cache value in all repos
sets the cachedir value in all repos
sets the failure callback for all repos
sets the failure callback for all mirrors
sets the progress bar for downloading files from repos