Replace gastown-specific references with generic alternatives throughout the codebase: - Rename --gastown flag to --orchestrator in bd doctor - Rename gastownMode/gastownThreshold params to orchestratorMode/orchestratorThreshold - Rename isGasTownTownRoot() to isOrchestratorRoot() - Replace "gastown" in CLI examples with generic rig names (my-project, other-project) - Update comments replacing "Gas Town" with "orchestrator" or "multi-agent workspace" - Update active docs (DOLT.md, CONFIG.md, ADVANCED.md, etc.) - Update test data to use generic names instead of "gastown" - Update role templates (deacon, witness, refinery) to use generic language Preserved as historical (not changed): - CHANGELOG.md entries (historical record) - ARTICLES.md (links to real published articles) - info.go version notes (historical release notes) - gastown/ file path references in dolt-concurrency.md (point to actual repo)
34 lines
996 B
Go
34 lines
996 B
Go
//go:build !cgo
|
|
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var federationCmd = &cobra.Command{
|
|
Use: "federation",
|
|
GroupID: "sync",
|
|
Short: "Manage peer-to-peer federation (requires CGO)",
|
|
Long: `Federation commands require CGO and the Dolt storage backend.
|
|
|
|
This binary was built without CGO support. To use federation features:
|
|
1. Use pre-built binaries from GitHub releases, or
|
|
2. Build from source with CGO enabled
|
|
|
|
Federation enables synchronized issue tracking across multiple workspaces,
|
|
each maintaining their own Dolt database while sharing updates via remotes.`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
fmt.Println("Federation requires CGO and Dolt backend.")
|
|
fmt.Println("")
|
|
fmt.Println("This binary was built without CGO support. To use federation:")
|
|
fmt.Println(" 1. Download pre-built binaries from GitHub releases")
|
|
fmt.Println(" 2. Or build from source with CGO enabled")
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(federationCmd)
|
|
}
|