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

Class TinyUrlRepository

source code


TinyURL kickstarts have actually already made a HEAD request up to the Satellite to to get the checksum for the rpm, however we can't just use that data because the epoch information is not in the filename so we'd never find files with a non-None epoch. Instead do the same thing we do for non-tiny-urlified kickstarts and look up what channel it maps to.

Instance Methods [hide private]
 
__init__(self, tinyurl, clientInfo, rhnParent=None, rhnParentXMLRPC=None, httpProxy=None, httpProxyUsername=None, httpProxyPassword=None, caChain=None, systemId=None) 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, tinyurl, clientInfo, rhnParent=None, rhnParentXMLRPC=None, httpProxy=None, httpProxyUsername=None, httpProxyPassword=None, caChain=None, systemId=None)
(Constructor)

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

_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.

Overrides: KickstartRepository._getMapping
(inherited documentation)