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) source code
 
read_list_from_file(fn) source code
 
log(lf, msg) 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']) 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()