Usages
Sync cell-level usages from declared git dependencies — and check them for drift.
The usages domain keeps imported practices current. Which tasks it solves:
- Declare dependencies — the
usages:section of.goga/config.ymlmaps<group>→<dep>→{git, ref, root}: the repositories whose cell-level.usages/*.mdpractices your project consumes. - Materialize —
goga usages syncclones each dependency's remote and copies its usage files into your project's.goga/usages/<group>/<dep>/tree — the practices your CODEMANIFEST files reference throughUsagespaths. - Detect drift —
goga usages statushashes the synchronized files against each dependency's current remote state and reports one status per dep —new,up to date,out of date, orerror— without modifying anything. Anout of datedep differs from the remote-rebuilt tree; the check does not distinguish an upstream move from a local edit.
Together with the Imports mechanism of the DSL (see Cells — Usages), this makes project know-how travel between repositories with the code.
In this directory
- CLI — the full
goga usagescommand reference - Configuration — the
usages:section of.goga/config.yml - Hooks — hook points for tool packages
- API — the
goga.usagespackage facade