Package backend :: Module mockremote
[hide private]
[frames] | no frames]

Module mockremote

source code

Classes [hide private]
  SortedOptParser
Optparser which sorts the options by opt before outputting --help
  MockRemoteError
  BuilderError
  DefaultCallBack
  CliLogCallBack
  Builder
  MockRemote
Functions [hide private]
 
createrepo(path, lock=None) source code
 
read_list_from_file(fn) source code
 
log(lf, msg, quiet=None) source code
 
get_ans_results(results, hostname) source code
 
_create_ans_conn(hostname, username, timeout) source code
 
check_for_ans_error(results, hostname, err_codes=[], success_codes=[0], return_on_error=["stdout","stderr"])
Return True or False + dict dict includes 'msg' may include 'rc', 'stderr', 'stdout' and any other requested result codes
source code
 
parse_args(args) source code
 
main(args) source code
Variables [hide private]
  mockchain = "/usr/bin/mockchain"
  rsync = "/usr/bin/rsync"
  DEF_REMOTE_BASEDIR = "/var/tmp"
  DEF_TIMEOUT = 3600
  DEF_REPOS = []
  DEF_CHROOT = None
  DEF_USER = "mockbuilder"
  DEF_DESTDIR = os.getcwd()
  DEF_MACROS = {}
  DEF_BUILDROOT_PKGS = ""