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
@@ -42,24 +43,24 @@ This is a C# based repository that produces several CLIs that are used by custom
42
43
43
44
## Go Port Sync Requirements
44
45
45
-
**Current state:**The `gei`CLI is fully ported to Go, including `migrate-repo`, `migrate-org`, and all alert migration commands. The GitHub API client, shared commands, and cloud storage clients are also ported.
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.
46
47
47
48
**When making C# changes, check if the Go port needs updating:**
48
49
49
50
| C# Area | Go Equivalent | Sync Required? |
50
51
|----------|--------------|----------------|
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 |
52
54
|`GenerateScriptCommandHandler.cs` (any CLI) |`cmd/{cli}/generate_script.go` + `pkg/scriptgen/generator.go`|**Yes** — scripts must be identical |
53
55
|`src/Octoshift/Services/GithubApi.cs`|`pkg/github/client.go`|**Yes** — API behavior must match |
54
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 |
55
58
| Shared commands in `src/Octoshift/Commands/`|`internal/sharedcmd/`|**Yes** — command behavior must match |
56
59
|`src/Octoshift/Services/AzureApi.cs`|`pkg/storage/azure/client.go`|**Yes** — upload behavior must match |
57
60
|`src/Octoshift/Services/AwsApi.cs`|`pkg/storage/aws/client.go`|**Yes** — upload behavior must match |
58
61
|`src/Octoshift/Services/HttpDownloadService.cs`|`pkg/storage/ghowned/client.go`|**Yes** — multipart upload must match |
59
62
|`src/Octoshift/Services/ArchiveUploader.cs`|`pkg/archive/uploader.go`|**Yes** — orchestration must match |
60
-
| ADO API client (`src/Octoshift/Services/AdoApi.cs`) | Not yet ported | No |
61
63
| BBS API client (`src/Octoshift/Services/BbsApi.cs`) | Not yet ported | No |
62
-
|`ado2gh` commands | Not yet ported | No |
63
64
|`bbs2gh` commands | Not yet ported | No |
64
65
65
66
**Testing:** Run `go test ./...` to verify Go changes. Run `golangci-lint run` to check for lint issues.
0 commit comments