Make setup-tracked-hooks registry path configurable #108
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/tools#108
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
git-hooks/setup-tracked-hookslooks for the repository registry at a fixed checkout path,~/work/allod/inventory/scripts/repositories.json. That works for the public template layout, but deploy forks may intentionally clone the inventory repo under a different alias or checkout path. In that layout the hook setup printsregistry not foundand exits 0, so tracked hook installation silently stops.Desired shape
Resolve the registry path from configuration available when the dev VM home activation runs, rather than from one hard-coded checkout path. The framework already knows each composed machine's inventory checkout layout at build time, so a packaged script argument or generated wrapper is preferable to relying on an operator-session environment variable.
Acceptance
~/work/allod/inventorycheckout and still install tracked hooks during dev VM home activation.