diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-23 17:58:12 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-23 17:58:12 +0300 |
| commit | 26ed54e854ca7b26d04108752233e96212bb362a (patch) | |
| tree | 71352f6de885700e555f1a00023bc2ae7ffa4fa1 /gitsyncer.example.json | |
| parent | 8706e6a82819c0c16a0c157283de2f14af2664c3 (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.json | 5 |
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 |
