Repository navigation
Add mirror sync, snapshot helpers and target types - #3
Merged
Merged
Conversation
- exec accepts an AbortSignal; add time, tool-info and git runner helpers - core/mirror: bare mirror with heads/tags refspecs, no prune, wiki not-found handling - core/snapshot: ref listing, ref hash, bundle creation and manifest - integration tests against temporary bare repositories Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NQyYvckeK2ZwbfoVpiF56R
- targets/local writes via .partial + rename with the manifest last, lists, deletes and cleans up interrupted snapshots - core/retention resolves keep (target > global) and selects expired stamps - core/lock holds a PID lock in the cache dir and takes over dead PIDs Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NQyYvckeK2ZwbfoVpiF56R
…mmary - core/run orchestrates mirror, ref comparison, bundle, upload and retention per repository and wiki, with retries (1s, 5s), per-target results and a summary - commands/backup wires config, targets, git check, run lock, discovery, SIGINT/SIGTERM handling, --json output and exit codes - util/async adds withRetry and runPool - integration tests cover broken repos, unchanged runs, keep, restore, wiki, lock, abort, retry and global git config isolation Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NQyYvckeK2ZwbfoVpiF56R
Document the backup flow, Target interface and README usage as implemented; add decisions K-032 to K-034 and notes for phases 3 and 4. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NQyYvckeK2ZwbfoVpiF56R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Co-Authored-By: Claude Sonnet 5.5 [email protected]
Claude-Session: https://claude.ai/code/session_01NQyYvckeK2ZwbfoVpiF56R