[form]
description = "Multi-instance extension distribution via Git sources (Gitea, Forgejo, GitHub) and OCI registries"
name = "Extension Registry Configuration"
version = "2.0"

[[sections]]
description = "Network and performance settings"
includes = ["fragments/extension-registry/server.toml"]
name = "Server Configuration"

[[sections]]
description = "Configure Gitea, Forgejo, and GitHub as extension sources"
includes = [
  "fragments/extension-registry/gitea-multi.toml",
  "fragments/extension-registry/forgejo-multi.toml",
  "fragments/extension-registry/github-multi.toml",
]
name = "Git Sources"

[[sections]]
description = "Configure OCI registries for distribution (Zot, Harbor, Docker Hub, GHCR, Quay)"
includes = ["fragments/extension-registry/oci-multi.toml"]
name = "OCI Registries"

[[sections]]
description = "Cache configuration and TTL settings"
includes = ["fragments/extension-registry/cache.toml"]
name = "Caching"

[[sections]]
description = "Single-instance configuration (automatically migrated to multi-instance format)"
includes = [
  "fragments/extension-registry/gitea-legacy.toml",
  "fragments/extension-registry/oci-legacy.toml",
]
name = "Legacy Configuration"
