Lines Matching refs:upload_path
503 def upload_pkg(self, pkg_path, upload_path=None, update_checksum=False, argument
506 if upload_path:
507 upload_path_list = [upload_path]
537 def upload_pkg_parallel(self, pkg_path, upload_path, update_checksum=False): argument
551 self.repo_check(upload_path)
554 self.upload_pkg_dir(pkg_path, upload_path)
556 self.upload_pkg_file(pkg_path, upload_path)
559 upload_path)
562 def upload_pkg_file(self, file_path, upload_path): argument
572 if upload_path.startswith('ssh://'):
574 hostline, remote_path = parse_ssh_path(upload_path)
583 upload_path)
586 orig_file = os.path.join(upload_path,
591 shutil.copy(file_path, upload_path)
595 upload_path, why)
598 def upload_pkg_dir(self, dir_path, upload_path): argument
609 if upload_path.startswith('ssh://'):
610 hostline, remote_path = parse_ssh_path(upload_path)
618 upload_path)
620 utils.run("cp %s %s " % (local_path, upload_path))
621 up_path = os.path.join(upload_path, "*")
625 % (dir_path, upload_path, why))