The site's context for the sidebar (spec-0016 §4, served at
/__dialecto/context): {repo, project, branch, sha, dirty, addon}, read
from git on demand so switching branches needs no restart. A git failure
only leaves its field empty.
Summary
Functions
owner/name from a GitHub remote URL in any of its common spellings, else nil.
Repo-root-relative paths (sorted, unique, capped) from git status --porcelain=v1 -z.
The context for settings (see DialectoInContext.Config), run in root.
Functions
owner/name from a GitHub remote URL in any of its common spellings, else nil.
Repo-root-relative paths (sorted, unique, capped) from git status --porcelain=v1 -z.
The context for settings (see DialectoInContext.Config), run in root.