Skip to main content

Module versioning

Module versioning 

Source

Structs§

CreateOptions
The opts argument of create.
GroupOptions
The opts argument of get and list: group for a group’s repositories.
Line
Origin
Where a repository was imported from, and how the import went. An import boots the repository’s first machine, clones into /repository and saves: Importing until then, Ready once the clone is saved, or Failed with why. The clone keeps its own .git, so pulling and pushing afterwards are plain git inside the machine. Nothing syncs by itself.
Repository
A saved machine: a numbered, principal owned chain of disk revisions on the one Termite base image. /repository inside it is a git folder whose history is revisions(). Start it with os::MachineRoom::start.
RepositoryMachine
{ id, status } in the TypeScript SDK: a repository’s live machine.
Return
Revision
Route
SecretRequest
A secret a repository’s agent asked its owner for, waiting until the owner switches on a secret by that name (Repository::set_secret) or declines it (Repository::decline).
Source
{ url, branch? } in the TypeScript SDK: the GitHub repository a create imports.

Enums§

FileOrFiles
File | File[] in the TypeScript SDK.
LineKind
'ADDITION' | 'DELETION' in the TypeScript SDK.
OriginStatus
'IMPORTING' | 'READY' | 'FAILED' in the TypeScript SDK.
RouteMethod
'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' in the TypeScript SDK.

Functions§

create
A new repository: a fresh machine on the Termite base image. With source it is imported from GitHub (https://github.com/{owner}/{name}, and a branch to check out other than its default): its first machine boots at once, billed like any machine, clones it and saves, and origin says how that went. A public repository needs nothing more. A private one needs its owner’s linked GitHub account (integrations::link_platform), and only a personal repository can import one. Without a name an import takes the GitHub repository’s.
get
list