summaryrefslogtreecommitdiff
path: root/gitsyncer.example.json
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-23 17:58:12 +0300
committerPaul Buetow <paul@buetow.org>2025-06-23 17:58:12 +0300
commit26ed54e854ca7b26d04108752233e96212bb362a (patch)
tree71352f6de885700e555f1a00023bc2ae7ffa4fa1 /gitsyncer.example.json
parent8706e6a82819c0c16a0c157283de2f14af2664c3 (diff)
Add support for multiple repository configuration and sync
- Add optional 'repositories' array to configuration file - Add --list-repos flag to list configured repositories - Add --sync-all flag to sync all configured repositories at once - Show progress when syncing multiple repositories - Gracefully handle missing remote repositories with warnings - Improve error handling to continue syncing other repos on failure - Add comprehensive integration tests for all functionality - Add test for multiple repository sync feature Example usage: gitsyncer --sync-all # Sync all configured repos gitsyncer --list-repos # List configured repos gitsyncer --sync repo-name # Sync specific repo (still works) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'gitsyncer.example.json')
-rw-r--r--gitsyncer.example.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitsyncer.example.json b/gitsyncer.example.json
index 3170286..9116f35 100644
--- a/gitsyncer.example.json
+++ b/gitsyncer.example.json
@@ -8,5 +8,10 @@
"host": "git@github.com",
"name": "snonux"
}
+ ],
+ "repositories": [
+ "gitsyncer",
+ "another-repo",
+ "yet-another-repo"
]
} \ No newline at end of file