M4.1: Git backend through the installed git
New crate lutra-vcs (L3): a safe git runner (argument arrays, no prompts, GIT_OPTIONAL_LOCKS=0 for reads, timeouts 30 s / 120 s for hooks, output caps, one spawn function for H1's kill-on-close helper), porcelain v2 / -z parsers (property-tested), Repo operations (status, stage, unstage before the first commit, commit and amend, show at HEAD/index, branches, checkout with remote tracking, branch creation checked by check-ref-format) and a .git poll (RepoWatch). Engine: git.status, git.stage, git.unstage, git.commit, git.show, git.branches, git.checkout, git.createBranch on pending outcomes, off the engine lock; gitChanged after changes and debounced 300 ms on .git or project changes; setting git.executable (section Git). Tests against real temp repositories, engine tests through run_waiting, docs (architecture, gaps G8, Git parity row, roadmap M4 row). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cd8c34b094
commit
13e7b0aa12
28 changed files with 3485 additions and 9 deletions
11
Cargo.lock
generated
11
Cargo.lock
generated
|
|
@ -2634,6 +2634,7 @@ dependencies = [
|
|||
"lutra-terminal",
|
||||
"lutra-testkit",
|
||||
"lutra-text",
|
||||
"lutra-vcs",
|
||||
"lutra-vfs",
|
||||
"proptest",
|
||||
"serde",
|
||||
|
|
@ -2743,6 +2744,16 @@ dependencies = [
|
|||
"ropey",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lutra-vcs"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"lutra-proc",
|
||||
"proptest",
|
||||
"tempfile",
|
||||
"thiserror 2.0.21",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lutra-vfs"
|
||||
version = "0.0.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue