Lines Matching refs:upload_path
509 def upload_pkg(self, pkg_path, upload_path=None, update_checksum=False, argument
512 if upload_path:
513 upload_path_list = [upload_path]
543 def upload_pkg_parallel(self, pkg_path, upload_path, update_checksum=False): argument
557 self.repo_check(upload_path)
560 self.upload_pkg_dir(pkg_path, upload_path)
562 self.upload_pkg_file(pkg_path, upload_path)
565 upload_path)
568 def upload_pkg_file(self, file_path, upload_path): argument
578 if upload_path.startswith('ssh://'):
580 hostline, remote_path = parse_ssh_path(upload_path)
589 upload_path)
592 orig_file = os.path.join(upload_path,
597 shutil.copy(file_path, upload_path)
601 upload_path, why)
604 def upload_pkg_dir(self, dir_path, upload_path): argument
615 if upload_path.startswith('ssh://'):
616 hostline, remote_path = parse_ssh_path(upload_path)
624 upload_path)
626 utils.run("cp %s %s " % (local_path, upload_path))
627 up_path = os.path.join(upload_path, "*")
631 % (dir_path, upload_path, why))