For debugging only: output contents of the metadata registry
(repo_config: RepoConfig, repo_path: Path)
| 543 | |
| 544 | |
| 545 | def registry_dump(repo_config: RepoConfig, repo_path: Path) -> str: |
| 546 | """For debugging only: output contents of the metadata registry""" |
| 547 | registry_config = repo_config.registry |
| 548 | project = repo_config.project |
| 549 | registry = Registry( |
| 550 | project, |
| 551 | registry_config=registry_config, |
| 552 | repo_path=repo_path, |
| 553 | auth_config=repo_config.auth_config, |
| 554 | ) |
| 555 | registry_dict = registry.to_dict(project=project) |
| 556 | return json.dumps(registry_dict, indent=2, sort_keys=True) |
| 557 | |
| 558 | |
| 559 | def cli_check_repo(repo_path: Path, fs_yaml_file: Path): |
no test coverage detected