Package backend :: Package server :: Package repomd :: Module mapper :: Class SqlPackageMapper
[hide private]
[frames] | no frames]

Class SqlPackageMapper

source code

Data Mapper for Packages to the RHN db.

Instance Methods [hide private]
 
__init__(self) source code
 
last_modified(self, package_id)
Get the last_modified date on the package with id package_id.
source code
 
get_package(self, package_id)
Get the package with id package_id from the RHN db.
source code
 
_get_package_filename(self, pkg) source code
 
_fill_package_details(self, package)
Load the packages basic details (summary, description, etc).
source code
 
_fill_package_prco(self, package)
Load the package's provides, requires, conflicts, obsoletes.
source code
 
_fill_package_filelist(self, package)
Load the package's list of files.
source code
 
_fill_package_other(self, package)
Load the package's changelog info.
source code
Static Methods [hide private]
 
__get_relation(sense)
Convert the binary sense into a string.
source code