diff options
| author | Paul Buetow <paul@buetow.org> | 2025-10-31 20:13:32 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-10-31 20:13:32 +0200 |
| commit | 11eea6a82cbfdde40ec1457c6ea080da4da6b7dc (patch) | |
| tree | 8026068f6a3beb3ee02c45f06f4487f4b89caaf1 /internal/sync/branch_sync.go | |
| parent | 5c3e0b5cf99d028c4f06be7a825388b296e37a22 (diff) | |
feat: implement amp AI tool support and replace Taskfile with Magev0.10.0
- Add amp as default AI tool for release notes and showcase generation
- Fallback chain: amp → hexai → claude → aichat
- Replace Taskfile.yaml with magefile.go for build automation
- Update all documentation (README.md, AGENTS.md, doc/development.md)
- Update version to 0.10.0
Amp-Thread-ID: https://ampcode.com/threads/T-735ba1e2-0255-4b43-8ed1-6c0d2f78301b
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/sync/branch_sync.go')
| -rw-r--r-- | internal/sync/branch_sync.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/sync/branch_sync.go b/internal/sync/branch_sync.go index 02f8964..eafb551 100644 --- a/internal/sync/branch_sync.go +++ b/internal/sync/branch_sync.go @@ -9,7 +9,7 @@ import ( // trackRemotesWithBranch finds which remotes have a specific branch func (s *Syncer) trackRemotesWithBranch(branch string, remotes map[string]*config.Organization) map[string]bool { remotesWithBranch := make(map[string]bool) - + for remoteName, org := range remotes { // Skip checking backup locations as we don't sync from them if org.BackupLocation { @@ -19,7 +19,7 @@ func (s *Syncer) trackRemotesWithBranch(branch string, remotes map[string]*confi remotesWithBranch[remoteName] = true } } - + return remotesWithBranch } @@ -29,14 +29,14 @@ func mergeFromRemotes(branch string, remotesWithBranch map[string]bool) error { fmt.Printf(" Branch %s is local only, will push to all remotes\n", branch) return nil } - + // Merge changes from all remotes that have this branch for remoteName := range remotesWithBranch { if err := mergeBranch(remoteName, branch); err != nil { return err } } - + return nil } @@ -56,7 +56,7 @@ func pushToAllRemotes(branch string, remotes map[string]*config.Organization, re return err } } - + return nil } @@ -69,4 +69,4 @@ func (s *Syncer) syncAllBranches(branches []string, remotes map[string]*config.O } } return nil -}
\ No newline at end of file +} |
