Refactor repo layout: group scripts into directories #71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/refactor-layout"
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?
Closes #70
Group scripts into logical directories instead of keeping everything flat at the repo root.
Directory layout:
workspace/--pull-all,work-diffflake/--flake-status,flake-update-cascadegit-hooks/--protected-refs-policy,setup-tracked-hooksallodandforgestay at the root (large standalone tools)lib/workspace.sh-- shared library (unchanged location)Other changes:
WORK_DIRdefault intolib/workspace.shto remove 4 duplicate declarationsdocs/tests/to mirror the new source layoutNote: Nix packaging expressions in
profilesandnexusreference scripts by path and will need corresponding updates after this lands.Validation
All 274 tests pass.
shouldn't the specific tools documentation be README.md files under the correct source code dir? that would make it easier to navigate from the forgejo UI.
Good call. Moving the docs from docs/ to README.md files in each source directory so they render when browsing workspace/, flake/, and git-hooks/ in the Forgejo UI. Will also add a README.md for forge since its docs are substantial enough to warrant one.