This class contains multiple repositories and core configuration data
about them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
findRepos(self,
pattern)
find all repositories matching fnmatch `pattern` |
source code
|
|
|
|
|
|
|
listEnabled(self)
return list of enabled repo objects |
source code
|
|
|
listGroupsEnabled(self)
return a list of repo objects that have groups enabled |
source code
|
|
|
setCache(self,
cacheval)
sets cache value in all repos |
source code
|
|
|
setCacheDir(self,
cachedir)
sets the cachedir value in all repos |
source code
|
|
|
setProgressBar(self,
obj)
sets the progress bar for downloading files from repos |
source code
|
|
|
setFailureCallback(self,
obj)
sets the failure callback for all repos |
source code
|
|
|
setMirrorFailureCallback(self,
obj)
sets the failure callback for all mirrors |
source code
|
|
|
|
|
|
|
populateSack(self,
which=' enabled ' ,
mdtype=' metadata ' ,
callback=None,
cacheonly=0)
This populates the package sack from the repositories, two optional
arguments: |
source code
|
|