|
|
|
|
@ -102,6 +102,7 @@ def get_gem_json_paths_from_cached_repo(repo_uri : str) -> list:
|
|
|
|
|
|
|
|
|
|
file_name = pathlib.Path(cache_filename).resolve()
|
|
|
|
|
if not file_name.is_file():
|
|
|
|
|
logger.error(f'Could not find cached repo json file for {repo_uri}')
|
|
|
|
|
return gem_list
|
|
|
|
|
|
|
|
|
|
with file_name.open('r') as f:
|
|
|
|
|
@ -124,6 +125,7 @@ def get_gem_json_paths_from_cached_repo(repo_uri : str) -> list:
|
|
|
|
|
manifest_json_sha256 = hashlib.sha256(manifest_json_uri.encode())
|
|
|
|
|
cache_gem_json_filepath = cache_folder / str(manifest_json_sha256.hexdigest() + '.json')
|
|
|
|
|
if cache_gem_json_filepath.is_file():
|
|
|
|
|
logger.warn(f'Could not find cached gem json file for {o3de_object_uri} in repo {repo_uri}')
|
|
|
|
|
gem_list.append(cache_gem_json_filepath)
|
|
|
|
|
|
|
|
|
|
return gem_list
|
|
|
|
|
|