RepoConfig
Committed repository configuration.
Usage
RepoConfig(
version=CONFIG_VERSION,
dataset_id=new_dataset_id(),
snapshot_auto=False,
verify_on_status=False,
new_fork="lazy",
new_record="fork",
defaults=Policy(),
vcs=dict(),
backends=dict(),
committed_import_query=None
)Parameter Attributes
version: int = CONFIG_VERSIONdataset_id: str = new_dataset_id()-
[dataset] id: 8 hex chars naming this dataset in every store it pins. Pins aretether.<id>.<hash>, working branchestether.ws.<id>.<ws>...;gconly touches refs in this namespace. Committed, so all clones share it. snapshot_auto: bool = False-
[snapshot] auto: whether the CLI’s status fingerprints every object on each run. Off by default: status shows the last snapshot and its age,status --snapshot(ortether snapshot) refreshes. commit and verify always fingerprint. verify_on_status: bool = Falsenew_fork: str = "lazy"-
[new] fork:lazy(default) creates a working branch on the first writable open;eagercreates every branch during new. new_record: str = "fork"-
[new] record: fork (default) branches apin = "record"object during new even when forks are lazy, since that branch is all that keeps its recorded state from expiring;deferleaves it for the first writable open like a pinned one (new --defer-record). Needsfork = "lazy". defaults: Policy = Policy()vcs: dict[str, Any] = dict()backends: dict[str, dict[str, Any]] = dict()committed_import_query: str | None = None-
[import] queryin the committed file: kept only sotether importcan refuse it by name. A clone must not choose SQL that runs with your DSN; the default query isSecrets.import_query.
Attributes
| Name | Description |
|---|---|
| trunk |
[vcs] trunk (default main): the dataset bookmark that stands for
|
trunk
[vcs] trunk (default main): the dataset bookmark that stands for
trunk: str
every object’s upstream branch (locator.branch). Working on it writes to those branches directly; any other bookmark forks.