Lines Matching refs:pkg_path
503 def upload_pkg(self, pkg_path, upload_path=None, update_checksum=False, argument
518 self.update_checksum(pkg_path)
523 (pkg_path, path,
537 def upload_pkg_parallel(self, pkg_path, upload_path, update_checksum=False): argument
553 if os.path.isdir(pkg_path):
554 self.upload_pkg_dir(pkg_path, upload_path)
556 self.upload_pkg_file(pkg_path, upload_path)
752 def compute_checksum(self, pkg_path): argument
768 checksum_path = pkg_path + '.checksum'
773 md5sum_output = self._run_command("md5sum %s " % pkg_path).stdout
777 def update_checksum(self, pkg_path): argument
785 new_checksum = self.compute_checksum(pkg_path)
787 checksum_dict[os.path.basename(pkg_path)] = new_checksum
804 def compare_checksum(self, pkg_path): argument
813 package_name = os.path.basename(pkg_path)
818 local_checksum = self.compute_checksum(pkg_path)