Lutra/crates/engine/src
danny d097558ba5 M4.10: remotes: fetch, pull, push, clone and manage remotes
Owner decision D23: Lutra runs fetch, pull (merge or rebase per the new
git.pull.mode setting), push (upstream set on the first push) and clone
through the user's git. Any HTTPS or SSH server works; sign-in stays with
git's credential helper (its own window is allowed for network calls only)
and the ssh agent. Terminal prompts stay off, ext:: is refused, and URL
userinfo is redacted in every message, progress line and remote listing.

- vcs: Call::network with a 30 min timeout, a stderr progress sink and a
  Cancel flag that kills git's process group; remote.rs with clone_repo,
  fetch, pull, push (--porcelain rejections), remotes and add/set-url/
  remove; explained refusals (rejected push, sign-in, host key, not found,
  unreachable, no upstream, local changes, conflicts).
- engine: git.fetch/pull/push/clone/cancel/remotes/remoteAdd/remoteSetUrl/
  remoteRemove, one network call at a time, gitProgress events,
  gitChanged after changes.
- ui: status-bar progress with Cancel and ahead/behind, vcs.fetch/pull/
  push/clone/manageRemotes (Git menu, no default shortcuts), Clone
  Repository and Manage Remotes dialogs; desktop pick_dir IPC.
- Tests against local bare repositories only (vcs 8, engine 3, Vitest 11)
  plus unit and property tests; docs updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 17:50:26 +01:00
..
cmd M4.10: remotes: fetch, pull, push, clone and manage remotes 2026-10-29 17:50:26 +01:00
lsp H3: Phpactor UX: fast tick while indexing, progress, messages, php -l 2026-10-25 17:36:10 +01:00
buffers.rs M3.10: autosave and flushDirty 2026-10-20 21:01:12 +02:00
command.rs M3.5: pending outcomes for commands that wait for the language server 2026-10-22 06:36:20 +02:00
engine.rs M4.10: remotes: fetch, pull, push, clone and manage remotes 2026-10-29 17:50:26 +01:00
error.rs M1.3: engine workspace, file and buffer commands, event stream 2026-10-14 20:24:44 +02:00
event.rs M4.10: remotes: fetch, pull, push, clone and manage remotes 2026-10-29 17:50:26 +01:00
guard.rs M0.6: command registry, guard, theme tokens, app.about and app.quit 2026-10-14 06:40:15 +02:00
journal.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
lib.rs M3.5: pending outcomes for commands that wait for the language server 2026-10-22 06:36:20 +02:00
registry.rs M1.8: command palette, global keymap, UI commands 2026-10-16 16:59:43 +02:00
settings.rs M4.10: remotes: fetch, pull, push, clone and manage remotes 2026-10-29 17:50:26 +01:00
state.rs M4.10: remotes: fetch, pull, push, clone and manage remotes 2026-10-29 17:50:26 +01:00
theme.rs H5: banner-aligned themes, diagnostic and VCS tokens 2026-10-25 13:58:38 +01:00
workspace.rs M4.1: Git backend through the installed git 2026-10-25 16:52:29 +01:00