Lines Matching refs:pkg_path
509 def upload_pkg(self, pkg_path, upload_path=None, update_checksum=False, argument
524 self.update_checksum(pkg_path)
529 (pkg_path, path,
543 def upload_pkg_parallel(self, pkg_path, upload_path, update_checksum=False): argument
559 if os.path.isdir(pkg_path):
560 self.upload_pkg_dir(pkg_path, upload_path)
562 self.upload_pkg_file(pkg_path, upload_path)
758 def compute_checksum(self, pkg_path): argument
774 checksum_path = pkg_path + '.checksum'
779 md5sum_output = self._run_command("md5sum %s " % pkg_path).stdout
783 def update_checksum(self, pkg_path): argument
791 new_checksum = self.compute_checksum(pkg_path)
793 checksum_dict[os.path.basename(pkg_path)] = new_checksum
810 def compare_checksum(self, pkg_path): argument
819 package_name = os.path.basename(pkg_path)
824 local_checksum = self.compute_checksum(pkg_path)