def get_default_pkg_versions(pkg: str) -> Sequence[str]: | def get_default_pkg_versions(pkg: str) -> Sequence[str]: | ||||
catalog_json = Path(__file__).resolve().parent.parent.parent / 'catalog.json' | |||||
catalog_json = Path(__file__).resolve().parent.parent.parent / 'old-catalog.json' | |||||
catalog_dict = json.loads(catalog_json.read_text()) | catalog_dict = json.loads(catalog_json.read_text()) | ||||
return list(catalog_dict['packages'][pkg].keys()) | return list(catalog_dict['packages'][pkg].keys()) | ||||
paths.PREBUILT_DDS, | paths.PREBUILT_DDS, | ||||
toolchain=opts.toolchain, | toolchain=opts.toolchain, | ||||
cat_path=old_cat_path, | cat_path=old_cat_path, | ||||
cat_json_path=Path('catalog.json'), | |||||
cat_json_path=Path('old-catalog.json'), | |||||
dds_flags=[('--repo-dir', ci_repo_dir)]) | dds_flags=[('--repo-dir', ci_repo_dir)]) | ||||
print('Main build PASSED!') | print('Main build PASSED!') | ||||
print(f'A `dds` executable has been generated: {paths.CUR_BUILT_DDS}') | print(f'A `dds` executable has been generated: {paths.CUR_BUILT_DDS}') |