Reference · v0.76.0
Leaving a tenant
From the pinned CLI source. Read upstream.
Current format policy: Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4.
Leaving a hosted service: tine tenant (0.50)
tine tenant export [--remote REMOTE] [--tenant T] [--token-file F] --out DIR [--json]
tine tenant import DIR [--repo PATH | --remote REMOTE [--tenant T] [--token-file F]] [--json]
export refuses a non-empty DIR, then writes everything a tine serve tenant holds that leaves in a format
frozen at 0.48: tenant.tbundle (a bundle of every tenant ref whose closure the
server holds, with tombstones and tine-sig/3 sidecars), reviews/ID.json
(each Review as its opentine-review-bundle-1), log/checkpoint.json and
log/entries.json (the server's signed checkpoint and this tenant's log
entries, as the API returned them) and shares.json (share-link ids, runs and
expiry; never a token). import installs the bundle and the Reviews into a
local repository under the same ref names, refusing to move a ref that already
points elsewhere, or with --remote imports them into another tine serve
tenant all or nothing (0.52): the objects are uploaded first, then one POST import (caps.tenant_import) creates every ref, Review and project version
together, and an interrupted or refused import leaves the tenant unchanged (run
it again to finish). A server without caps.tenant_import is refused.
tine verify . --offline --json then prints the same bytes in either place.
--json writes tine-cli-tenant-1. The walkthrough, and what cannot move, is
LEAVING.md.