You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,24 +44,24 @@ This is a C# based repository that produces several CLIs that are used by custom
43
44
44
45
## Go Port Sync Requirements
45
46
46
-
**Current state:**`gei` and `ado2gh`are fully ported to Go. This includes the ADO API client, all ado2gh commands (migrate-repo, generate-script, inventory-report, etc.), and all gei commands. The GitHub API client, shared commands, and cloud storage clients are also ported.
47
+
**Current state:**All three CLIs (`gei`, `ado2gh`, `bbs2gh`) are fully ported to Go. Every command has behavioral parity with the C# version. Any C# behavioral change must be reflected in the Go port.
47
48
48
-
**When making C# changes, check if the Go port needs updating:**
49
+
**When making C# changes, you MUST make the corresponding Go change:**
49
50
50
-
| C# Area | Go Equivalent | Sync Required? |
51
-
|----------|--------------|----------------|
52
-
|`src/gei/Commands/` (any command) |`cmd/gei/`|**Yes** — all gei commands are ported |
53
-
|`src/ado2gh/Commands/` (any command) |`cmd/ado2gh/`|**Yes** — all ado2gh commands are ported |
54
-
|`GenerateScriptCommandHandler.cs` (any CLI) |`cmd/{cli}/generate_script.go` + `pkg/scriptgen/generator.go`|**Yes** — scripts must be identical|
55
-
|`src/Octoshift/Services/GithubApi.cs`|`pkg/github/client.go`|**Yes** — API behavior must match|
56
-
|`src/Octoshift/Services/GithubClient.cs`|`pkg/github/client.go`|**Yes** — HTTP/auth behavior must match|
57
-
|`src/Octoshift/Services/AdoApi.cs`|`pkg/ado/client.go`|**Yes** — API behavior must match|
58
-
|Shared commands in `src/Octoshift/Commands/`|`internal/sharedcmd/`|**Yes** — command behavior must match|
59
-
|`src/Octoshift/Services/AzureApi.cs`|`pkg/storage/azure/client.go`|**Yes** — upload behavior must match|
60
-
|`src/Octoshift/Services/AwsApi.cs`|`pkg/storage/aws/client.go`|**Yes** — upload behavior must match|
61
-
|`src/Octoshift/Services/HttpDownloadService.cs`|`pkg/storage/ghowned/client.go`|**Yes** — multipart upload must match|
62
-
|`src/Octoshift/Services/ArchiveUploader.cs`|`pkg/archive/uploader.go`|**Yes** — orchestration must match|
63
-
|BBS API client (`src/Octoshift/Services/BbsApi.cs`)|Not yet ported | No|
0 commit comments