From 26ed54e854ca7b26d04108752233e96212bb362a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 23 Jun 2025 17:58:12 +0300 Subject: Add support for multiple repository configuration and sync MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- internal/config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/config') diff --git a/internal/config/config.go b/internal/config/config.go index 0fe1ac8..754e226 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -17,6 +17,7 @@ type Organization struct { // Config holds the application configuration type Config struct { Organizations []Organization `json:"organizations"` + Repositories []string `json:"repositories,omitempty"` } // Load reads and parses the configuration file -- cgit v1.2.3