chore: rename project to grove and add MIT license

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-11-16 12:52:25 +01:00
1 parent 126acb4b57
commit c935d779e1
29 files changed
+99 -76

No files matched your search

+2 -1
View File
@@ -3,4 +3,5 @@
1. Custom refs on Gitea/Forgejo: supported on Forgejo 11, no fallback needed (see `phase0-spike.md`). Also confirmed on git.zenvairo.es (Gitea 1.25.4); mirror exclusion still to verify there.
2. Snapshots are auto-applied only when the target worktree is clean, has no unpushed commits and HEAD can fast-forward to the snapshot's base; otherwise declined and reported (implemented in `receive::apply_snapshot`).
3. Config: TOML for user intent (implemented); runtime state storage still open.
4-5. Open.
4. License: MIT (decided).
5. Final name: Grove (decided; binary `grove`, crates `grove-core` and `grove`).
+8 -8
View File
@@ -1,18 +1,18 @@
# Phase 1: core + CLI
Crates: `gitsync-core` (library) and `gitsync` (CLI). Everything shells out to the system `git`.
Crates: `grove-core` (library) and `grove` (CLI). Everything shells out to the system `git`.
## CLI
| Command | What it does |
|---|---|
| `gitsync status [path]` | State of every worktree (`Synced`, `Dirty`, `Ahead`, `Behind`, `BehindDirty`, `Diverged`, `Error`) |
| `gitsync snapshot [path]` | Snapshot the worktree into `refs/sync/<machine>/<branch>` (local only) |
| `gitsync add <path>` | Migrate a plain clone to `.bare/` + one worktree per branch, in place |
| `gitsync sync [path] [--offline]` | One full pass (below) |
| `gitsync doctor` | Checks git, config, root, repo remotes and refspecs, inotify limit |
| `grove status [path]` | State of every worktree (`Synced`, `Dirty`, `Ahead`, `Behind`, `BehindDirty`, `Diverged`, `Error`) |
| `grove snapshot [path]` | Snapshot the worktree into `refs/sync/<machine>/<branch>` (local only) |
| `grove add <path>` | Migrate a plain clone to `.bare/` + one worktree per branch, in place |
| `grove sync [path] [--offline]` | One full pass (below) |
| `grove doctor` | Checks git, config, root, repo remotes and refspecs, inotify limit |
Config: `~/.config/gitsync/config.toml` (or `--config`). Machine names are embedded in ref names, so
Config: `~/.config/grove/config.toml` (or `--config`). Machine names are embedded in ref names, so
they may only contain letters, digits, `-` and `_`.
## Sync pass (`sync_repo`)
@@ -50,7 +50,7 @@ they may only contain letters, digits, `-` and `_`.
## Known limitations
- Nested untracked git repos are snapshotted only as gitlinks (their content is not synced).
- No crash-resume: a hard kill in the middle of `add` leaves `.gitsync-stage`; the error says where
- No crash-resume: a hard kill in the middle of `add` leaves `.grove-stage`; the error says where
the files are, but recovery is manual (the backup tar and ref exist).
- Machine-name uniqueness across machines is not enforced.
- Split-index repos are untested.