Skip to content

Commit 5b3d7f8

Browse files
authored
Merge branch 'main' into consume-gei-uri-in-multipart-response
2 parents ff927dd + b80f0ae commit 5b3d7f8

File tree

78 files changed

+505
-380
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+505
-380
lines changed

LATEST-VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.15.1
1+
v1.17.0

RELEASENOTES.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
- Fixed `ado2gh integrate-boards` command to properly report errors when GitHub PAT permissions are incorrect, instead of incorrectly reporting success.
2-
- Added `--target-api-url` option to `gh ado2gh rewire-pipeline` command to support customers migrating to [GitHub Enterprise Cloud with data residency](https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/about-github-enterprise-cloud-with-data-residency)
3-
- Updated `ado2gh generate-script` to no longer include ADO Boards integration commands in the generated script. This is a temporary change to fix broken functionality until we can ship a longer term fix. More details can be found [here](https://github.com/github/gh-gei/issues/1357)
1+
- Add --target-uploads-url option to support GitHub-owned storage uploads to locations other than uploads.github.com.

releasenotes/v1.16.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Fixed `ado2gh integrate-boards` command to properly report errors when GitHub PAT permissions are incorrect, instead of incorrectly reporting success.
2+
- Added `--target-api-url` option to `gh ado2gh rewire-pipeline` command to support customers migrating to [GitHub Enterprise Cloud with data residency](https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/about-github-enterprise-cloud-with-data-residency)
3+
- Updated `ado2gh generate-script` to no longer include ADO Boards integration commands in the generated script. This is a temporary change to fix broken functionality until we can ship a longer term fix. More details can be found [here](https://github.com/github/gh-gei/issues/1357)

releasenotes/v1.16.2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Updated `ado2gh integrate-boards` command help text to clarify that the ADO PAT token must have 'All organizations' access selected.
2+
- If `create-team` fails with 5xx errors, it will now retry the API call.
3+
- Fixed `gh gei migrate-secret-alerts` command to handle long resolution comments by truncating them to fit within GitHub's 270 character limit while preserving the resolver name prefix.

releasenotes/v1.17.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Poll migration status every 60 seconds when waiting for migrations to complete.

src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public override CreateTeamCommandHandler BuildHandler(CreateTeamCommandArgs args
4343
var log = sp.GetRequiredService<OctoLogger>();
4444
var githubApiFactory = sp.GetRequiredService<ITargetGithubApiFactory>();
4545

46-
var githubApi = githubApiFactory.Create(args.TargetApiUrl, args.GithubPat);
46+
var githubApi = githubApiFactory.Create(args.TargetApiUrl, null, args.GithubPat);
4747

4848
return new CreateTeamCommandHandler(log, githubApi);
4949
}

src/Octoshift/Commands/DownloadLogs/DownloadLogsCommandBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public override DownloadLogsCommandHandler BuildHandler(DownloadLogsCommandArgs
6767

6868
var log = sp.GetRequiredService<OctoLogger>();
6969
var githubApiFactory = sp.GetRequiredService<ITargetGithubApiFactory>();
70-
var githubApi = githubApiFactory.Create(args.GithubApiUrl, args.GithubPat);
70+
var githubApi = githubApiFactory.Create(args.GithubApiUrl, null, args.GithubPat);
7171
var httpDownloadServiceFactory = sp.GetRequiredService<HttpDownloadServiceFactory>();
7272
var httpDownloadService = httpDownloadServiceFactory.CreateDefaultWithRedirects();
7373
var retryPolicy = sp.GetRequiredService<RetryPolicy>();

src/Octoshift/Commands/GenerateMannequinCsv/GenerateMannequinCsvCommandBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public override GenerateMannequinCsvCommandHandler BuildHandler(GenerateMannequi
5656

5757
var log = sp.GetRequiredService<OctoLogger>();
5858
var githubApiFactory = sp.GetRequiredService<ITargetGithubApiFactory>();
59-
var githubApi = githubApiFactory.Create(args.TargetApiUrl, args.GithubPat);
59+
var githubApi = githubApiFactory.Create(args.TargetApiUrl, null, args.GithubPat);
6060

6161
return new GenerateMannequinCsvCommandHandler(log, githubApi);
6262
}

src/Octoshift/Commands/GrantMigratorRole/GrantMigratorRoleCommandBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public override GrantMigratorRoleCommandHandler BuildHandler(GrantMigratorRoleCo
5353
var log = sp.GetRequiredService<OctoLogger>();
5454
var githubApiFactory = sp.GetRequiredService<ITargetGithubApiFactory>();
5555
var apiUrl = args.TargetApiUrl ?? args.GhesApiUrl;
56-
var githubApi = githubApiFactory.Create(apiUrl, args.GithubPat);
56+
var githubApi = githubApiFactory.Create(apiUrl, null, args.GithubPat);
5757

5858
return new GrantMigratorRoleCommandHandler(log, githubApi);
5959
}

src/Octoshift/Commands/ReclaimMannequin/ReclaimMannequinCommandBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public override ReclaimMannequinCommandHandler BuildHandler(ReclaimMannequinComm
8888

8989
var log = sp.GetRequiredService<OctoLogger>();
9090
var githubApiFactory = sp.GetRequiredService<ITargetGithubApiFactory>();
91-
var githubApi = githubApiFactory.Create(args.TargetApiUrl, args.GithubPat);
91+
var githubApi = githubApiFactory.Create(args.TargetApiUrl, null, args.GithubPat);
9292
var reclaimService = new ReclaimService(githubApi, log);
9393
var confirmationService = sp.GetRequiredService<ConfirmationService>();
9494

0 commit comments

Comments
 (0)