Package proxy :: Package broker :: Module rhnRepository :: Class KickstartRepository
[hide private]
[frames] | no frames]

Class KickstartRepository

source code


Kickstarts always end up pointing to a channel that they're getting rpms from. Lookup what channel that is and then just use the regular repository

Instance Methods [hide private]
 
__init__(self, kickstart, clientInfo, rhnParent=None, rhnParentXMLRPC=None, httpProxy=None, httpProxyUsername=None, httpProxyPassword=None, caChain=None, orgId=None, child=None, session=None, systemId=None) source code
 
_lookupKickstart(self, fileName, rhnParentXMLRPC, httpProxy, httpProxyUsername, httpProxyPassword, caChain) source code
 
_listPackages(self)
Generates a list of objects by calling the function
source code
 
_getMapping(self, server)
Generate a hash that tells us what channel this kickstart is looking at.
source code

Inherited from Repository: getPackagePath, getSourcePackagePath

Inherited from Repository (private): _cacheObj

Inherited from spacewalk.common.rhnRepository.Repository: __del__, getPackage, getPackageHeader, getPackageSource, set_compress_headers

Inherited from spacewalk.common.rhnRepository.Repository (private): _getFile, _getHeaderFromFile

Inherited from spacewalk.common.RPC_Base.RPC_Base: get_function

Static Methods [hide private]

Inherited from Repository (private): _getPkgListDir

Inherited from spacewalk.common.rhnRepository.Repository: getPackagePathNVRA, i18n, media_1

Inherited from spacewalk.common.rhnRepository.Repository (private): _fileFeatures, _set_last_modified

Method Details [hide private]

__init__(self, kickstart, clientInfo, rhnParent=None, rhnParentXMLRPC=None, httpProxy=None, httpProxyUsername=None, httpProxyPassword=None, caChain=None, orgId=None, child=None, session=None, systemId=None)
(Constructor)

source code 
Overrides: spacewalk.common.RPC_Base.RPC_Base.__init__

_listPackages(self)

source code 

Generates a list of objects by calling the function

Overrides: Repository._listPackages

_getMapping(self, server)

source code 

Generate a hash that tells us what channel this kickstart is looking at. We have no equivalent to channel version, so expire the cached file after an hour.