--registry-url or --registry-path.
This document describes how anyone can create a custom registry. By default, Harbor uses Harbor Hub as the registry.
Schema
registry.json is a JSON array. Each entry defines one version of a dataset and must include name, version, description, and tasks. The metrics field is optional.
registry.json
Dataset fields
Dataset version. Define another top-level entry to publish another version of the same dataset.
Optional reward aggregations. See Metrics.
Task fields
Every task must includename and path. The Git fields are optional.
Git repository containing the task. Without
--repo, omitting this field makes path a local path.Commit containing the task. If omitted, Harbor resolves the repository’s default branch.
Metric fields
Metric implementation used to aggregate task rewards.
When loading the registry with
--repo, Harbor fills omitted git_url and git_commit_id values from the selected repository and resolved commit.
