Represents the aggregate of multiple package sacks, such that they can
all be treated as one unified sack.
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
addSack(self,
repoid,
sack)
Adds a repository's packageSack to this MetaSack. |
source code
|
|
|
|
|
|
|
|
|
searchNevra(self,
name=None,
epoch=None,
ver=None,
rel=None,
arch=None)
return list of pkgobjects matching the nevra requested |
source code
|
|
|
|
|
getProvides(self,
name,
flags=None,
version=( None, None, None) )
return dict { packages -> list of matching provides } |
source code
|
|
|
getRequires(self,
name,
flags=None,
version=( None, None, None) )
return dict { packages -> list of matching requires } |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
buildIndexes(self)
builds the useful indexes for searching/querying the packageSack This
should be called after all the necessary packages have been
added/deleted |
source code
|
|
|
|
|
|
|
|
|
returnNewestByNameArch(self,
naTup=None,
patterns=None,
ignore_case=False)
return list of newest packages based on name, arch matching this
means(in name.arch form): foo.i386 and foo.noarch are not compared to
each other for highest version only foo.i386 and foo.i386 will be
compared |
source code
|
|
|
returnNewestByName(self,
name=None,
patterns=None,
ignore_case=False)
return list of newest packages based on name matching this means(in
name.arch form): foo.i386 and foo.noarch will be compared to each
other for highest version. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
matchPackageNames(self,
pkgspecs)
take a list strings and match the packages in the sack against it
this will match against: name name.arch name-ver-rel.arch name-ver
name-ver-rel epoch:name-ver-rel.arch name-epoch:ver-rel.arch |
source code
|
|
|
_computeAggregateListResult(self,
methodName,
*args) |
source code
|
|
|
_computeAggregateDictResult(self,
methodName,
*args) |
source code
|
|
Inherited from PackageSackBase :
__cmp__ ,
__iter__ ,
contains ,
returnLeafNodes ,
searchPO ,
searchPkgTuple ,
simpleVersion
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|