Home | History | Annotate | Download | only in common_lib

Lines Matching refs:pkg_path

503     def upload_pkg(self, pkg_path, upload_path=None, update_checksum=False,
518 self.update_checksum(pkg_path)
523 (pkg_path, path,
537 def upload_pkg_parallel(self, pkg_path, upload_path, update_checksum=False):
541 pkg_path : The complete path to the package file
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)
695 the current package's (specified in pkg_path) checksum value in it.
752 def compute_checksum(self, pkg_path):
755 pkg_path : The complete path for the package file
768 checksum_path = pkg_path + '.checksum'
773 md5sum_output = self._run_command("md5sum %s " % pkg_path).stdout
777 def update_checksum(self, pkg_path):
782 pkg_path : The complete path to the package file.
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):
806 Calculate the checksum of the file specified in pkg_path and
809 pkg_path : The full path to the package file for which the
813 package_name = os.path.basename(pkg_path)
818 local_checksum = self.compute_checksum(pkg_path)