Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0003-host FR-001
The workspace's manifest, the source state (commons 0003-hostFR-001, 0002-workspace-modelFR-006, FR-011, FR-019, FR-020): the repositories it names, the self-managed GitLab hosts, the policy and the identity, decoded once at the boundary by the kernel's decoder and then checked as a whole, so that every field that is wrong is reported with its place and none is guessed.
Two stages. The shape is the kernel decoder's: the first field that is not what is expected stops that stage, named by its path. The meaning is this module's and reports all it finds: a remote that is not a remote of a host, a path that is not portable or is named like a folder of the workspace, a path deeper than the host's manager offers, two repositories or worktrees whose paths are one after Unicode normalization and case folding (both are named, on every file system), a branch that is not a branch name, and a repository on a host the policy does not allow. An issue is a finding of severity Error (issueFinding); a manifest with one is not used.
The kind of host of a name under a manifest: GitHub for github.com, GitLab for gitlab.com and the hosts it names, plain Git for the rest (0002-workspace-modelFR-019).
type Manifest = {
readonly repositories: readonly ManifestRepo[];
/** The hosts that are not plain Git, by name: the…(888 characters)
typeManifest= {
readonlyrepositories:readonlyManifestRepo[];
/** The hosts that are not plain Git, by name: the self-managed GitLab hosts the manifest names (and never one guessed from a URL). */readonlyhostKinds:HostKinds;
readonlypolicy:Policy;
readonlyidentity?: { readonlyname:string; readonlyemail:string } |undefined;
/** The signing the policy requires, where the manifest names a format. */readonlysigning?:ManifestSigning|undefined;
/** Whether `direnv` is wanted (0003-host FR-023): `.envrc.auto` is generated only where it is wanted and a probe finds it. */readonlydirenv:boolean;
/** The modules the workspace registers, written to `modules.auto.json`. */readonlymodules:readonlyManifestModule[];
/** The tool catalog (0002-workspace-model FR-037): empty where the manifest names none. */readonlycatalog:ToolCatalog;
};
type ManifestRepo = {
/** The remote as the manifest wrote it, normalized to the HTTPS URL it is cloned from. */
rea…(428 characters)
typeManifestRepo= {
/** The remote as the manifest wrote it, normalized to the HTTPS URL it is cloned from. */readonlycloneUrl:string;
readonlyref:RepoRef;
readonlypath:RepoPath;
readonlybranch?:BranchName|undefined;
/** The group of repositories it belongs to (one `<group>.auto.code-workspace` file each). */readonlygroup?:string|undefined;
readonlyworktrees:readonlyManifestWorktree[];
};
A repository the manifest names, with where it goes.