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

Module rhnRepository

source code

Classes [hide private]
  NotLocalError
  Repository
Proxy local package repository lookup and manipulation code.
  KickstartRepository
Kickstarts always end up pointing to a channel that they're getting rpms from.
  TinyUrlRepository
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.
Functions [hide private]
 
isSolarisArch(arch)
Returns true if the given arch string represents a solaris architecture.
source code
 
isDebianArch(arch)
Returns true if the given arch string represents a Debian architecture..
source code
 
computePackagePaths(nvrea, source=0, prepend="", checksum=None)
Finds the appropriate paths, prepending something if necessary
source code
 
cache(stringObject, directory, filename, version)
Caches stringObject into a file and removes older files
source code
Variables [hide private]
  PKG_LIST_DIR = os.path.join(CFG.PKG_DIR, 'list')
  PREFIX = "rhn"