Package backend :: Package satellite_tools :: Module satsync
[hide private]
[frames] | no frames]

Module satsync

source code

Classes [hide private]
  Runner
  Syncer
high-level sychronization/import class NOTE: there should *ONLY* be one instance of this.
  ThreadDownload
  StreamProducer
Functions [hide private]
 
sendMail(forceEmail=0)
Send email summary
source code
 
_verifyPkgRepMountPoint()
Checks the base package repository directory tree for existance and permissions.
source code
 
_validate_package_org(batch)
Validate the orgids associated with packages.
source code
 
_getImportedChannels(withAdvisory=None)
Retrieves the channels already imported in the satellite's database
source code
 
getDbIssParent() source code
 
getDbCaChain(master) source code
 
processCommandline()
process the commandline, setting the OPTIONS object
source code
 
formatDateTime(dtstring=None, dt=None)
Format the date time using your locale settings.
source code
Variables [hide private]
  translation = gettext.translation('spacewalk-backend-server', ...
  _DEFAULT_SYSTEMID_PATH = '/etc/sysconfig/rhn/systemid'
  DEFAULT_ORG = 1
  OPTIONS = None
hash(x)
  __package__ = 'backend.satellite_tools'
Function Details [hide private]

_verifyPkgRepMountPoint()

source code 

Checks the base package repository directory tree for existance and permissions.

Creates base dir if need be, and chowns to apache.root (required for rhnpush).

_validate_package_org(batch)

source code 

Validate the orgids associated with packages. If its redhat channel default to Null org If custom channel and org is specified use that. If custom and package org is not valid default to org 1

formatDateTime(dtstring=None, dt=None)

source code 

Format the date time using your locale settings. This assume that your setlocale has been alread called.


Variables Details [hide private]

translation

Value:
gettext.translation('spacewalk-backend-server', fallback= True)