Multi-repo projects: implementation and tests #4
Loading…
Add table
Add a link
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?
Depends on #3 (Multi-repo projects: design).
Tasks
lib/agentbox-common.sh(parsed, not sourced;unknown keys are errors, like the config).
agentbox initin a non-Git project root writes a manifest skeleton.create: one VM, all repos cloned into the sibling layout, each withonly a
hostremote;agent-workspace-initre-asserts all of them.fetch/diff/merge/sync/statusper repo, via thebundle path from the design.
removerefuses while any repo has commits the host does not have.agentbox-orientdescribe all repos: which have waitinghost commits, which have uncommitted changes.
Tests
sbxgains enough to simulate bundles movingthrough
sbx cp..e2e-workspace/: threesmall repos where one imports another through a relative sibling path,
plus a fake data folder. No real project data in tests or fixtures.