Lines Matching refs:pkgmgr
114 def process_packages(pkgmgr, pkg_type, pkg_names, src_dir,
137 pkg_name = pkgmgr.get_tarball_name(name, pkg_type)
152 tarball_path = pkgmgr.tar_package(pkg_name, pkg_dir,
156 md5sum = pkgmgr.compute_checksum(tarball_path)
176 if os.path.exists(tarball_path) and pkgmgr.compare_checksum(tarball_path):
180 tarball_path = pkgmgr.tar_package(pkg_name, pkg_dir,
182 pkgmgr.upload_pkg(tarball_path, update_checksum=True)
187 pkgmgr.remove_pkg(pkg_name, remove_checksum=True)
191 def tar_packages(pkgmgr, pkg_type, pkg_names, src_dir, temp_dir):
209 pkg_name = pkgmgr.get_tarball_name(name, pkg_type)
222 tarball_path = pkgmgr.tar_package(pkg_name, pkg_dir,
228 def process_all_packages(pkgmgr, client_dir, action):
261 all_packages.extend(tar_packages(pkgmgr, 'profiler', profilers,
263 all_packages.extend(tar_packages(pkgmgr, 'dep', deps, dep_dir,
265 all_packages.extend(tar_packages(pkgmgr, 'test', site_tests,
267 all_packages.extend(tar_packages(pkgmgr, 'test', tests, client_dir,
269 all_packages.extend(tar_packages(pkgmgr, 'client', 'autotest',
272 pkgmgr.upload_pkg(package, update_checksum=True)
275 process_packages(pkgmgr, 'test', tests, client_dir, action=action)
276 process_packages(pkgmgr, 'test', site_tests, client_dir, action=action)
277 process_packages(pkgmgr, 'client', 'autotest', client_dir,
279 process_packages(pkgmgr, 'dep', deps, dep_dir, action=action)
280 process_packages(pkgmgr, 'profiler', profilers, prof_dir,
355 pkgmgr = packages.PackageManager(autotest_dir, repo_urls=repo_urls,
360 process_all_packages(pkgmgr, client_dir, action=cur_action)
363 process_packages(pkgmgr, 'client', 'autotest', client_dir,
367 process_packages(pkgmgr, 'dep', options.dep, dep_dir,
371 process_packages(pkgmgr, 'test', options.test, client_dir,
375 process_packages(pkgmgr, 'profiler', options.prof, prof_dir,
380 pkgmgr.remove_pkg(options.file, remove_checksum=True)
382 pkgmgr.upload_pkg(options.file, update_checksum=True)