Add repo-family metadata to Fabric registry
This commit is contained in:
parent
3240b78185
commit
0ea99a73d8
15 changed files with 189 additions and 32 deletions
|
|
@ -1078,6 +1078,11 @@ def _registry_manifest_evidence(root: dict[str, Any], *, max_items: int) -> list
|
|||
"domain": repo.get("domain", ""),
|
||||
"default_branch": repo.get("default_branch", ""),
|
||||
"state_hub_repo_id": repo.get("state_hub_repo_id", ""),
|
||||
"repo_family": repo.get("repo_family", ""),
|
||||
"ownership_repo": repo.get("ownership_repo", ""),
|
||||
"primary_rail": repo.get("primary_rail", ""),
|
||||
"supported_rails": repo.get("supported_rails", []) if isinstance(repo.get("supported_rails"), list) else [],
|
||||
"substrate_kind": repo.get("substrate_kind", ""),
|
||||
"has_local_path": bool(repo.get("path")),
|
||||
"has_remote_url": bool(repo.get("remote_url")),
|
||||
"canonical_slug": identity_slug if identity_slug != repo_slug else "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue