Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void Should_Have_Options()
TestHelpers.VerifyCommandOption(command.Options, "keep-archive", false);
TestHelpers.VerifyCommandOption(command.Options, "no-ssl-verify", false);
TestHelpers.VerifyCommandOption(command.Options, "target-api-url", false);
TestHelpers.VerifyCommandOption(command.Options, "target-uploads-url", false, true);
TestHelpers.VerifyCommandOption(command.Options, "target-uploads-url", false);
TestHelpers.VerifyCommandOption(command.Options, "use-github-storage", false, true);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void Should_Have_Options()
TestHelpers.VerifyCommandOption(command.Options, "aws-region", false);
TestHelpers.VerifyCommandOption(command.Options, "keep-archive", false);
TestHelpers.VerifyCommandOption(command.Options, "target-api-url", false);
TestHelpers.VerifyCommandOption(command.Options, "target-uploads-url", false, true);
TestHelpers.VerifyCommandOption(command.Options, "target-uploads-url", false);
TestHelpers.VerifyCommandOption(command.Options, "use-github-storage", false, true);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void Should_Have_Options()
TestHelpers.VerifyCommandOption(command.Options, "github-target-pat", false);
TestHelpers.VerifyCommandOption(command.Options, "verbose", false);
TestHelpers.VerifyCommandOption(command.Options, "target-api-url", false);
TestHelpers.VerifyCommandOption(command.Options, "target-uploads-url", false, true);
TestHelpers.VerifyCommandOption(command.Options, "target-uploads-url", false);
}

[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void Should_Have_Options()
TestHelpers.VerifyCommandOption(command.Options, "github-target-org", true);
TestHelpers.VerifyCommandOption(command.Options, "target-repo", false);
TestHelpers.VerifyCommandOption(command.Options, "target-api-url", false);
TestHelpers.VerifyCommandOption(command.Options, "target-uploads-url", false, true);
TestHelpers.VerifyCommandOption(command.Options, "target-uploads-url", false);
TestHelpers.VerifyCommandOption(command.Options, "ghes-api-url", false);
TestHelpers.VerifyCommandOption(command.Options, "azure-storage-connection-string", false);
TestHelpers.VerifyCommandOption(command.Options, "aws-bucket-name", false);
Expand Down
3 changes: 1 addition & 2 deletions src/bbs2gh/Commands/MigrateRepo/MigrateRepoCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ public MigrateRepoCommand() : base(
};
public Option<string> TargetUploadsUrl { get; } = new(
name: "--target-uploads-url",
description: "The URL of the target uploads API, if not migrating to github.com. Defaults to https://uploads.github.com")
{ IsHidden = true };
description: "The URL of the target uploads API, if not migrating to github.com. Defaults to https://uploads.github.com");
public Option<bool> NoSslVerify { get; } = new(
name: "--no-ssl-verify",
description: "Disables SSL verification when communicating with your Bitbucket Server/Data Center instance. All other migration steps will continue to verify SSL. " +
Expand Down
3 changes: 1 addition & 2 deletions src/gei/Commands/GenerateScript/GenerateScriptCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ public GenerateScriptCommand() : base(
};
public Option<string> TargetUploadsUrl { get; } = new(
name: "--target-uploads-url",
description: "The URL of the target uploads API, if not migrating to github.com. Defaults to https://uploads.github.com")
{ IsHidden = true };
description: "The URL of the target uploads API, if not migrating to github.com. Defaults to https://uploads.github.com");
public Option<bool> UseGithubStorage { get; } = new("--use-github-storage")
{
IsHidden = true,
Expand Down
3 changes: 1 addition & 2 deletions src/gei/Commands/MigrateOrg/MigrateOrgCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public MigrateOrgCommand() : base(
};
public Option<string> TargetUploadsUrl { get; } = new(
name: "--target-uploads-url",
description: "The URL of the target uploads API, if not migrating to github.com. Defaults to https://uploads.github.com")
{ IsHidden = true };
description: "The URL of the target uploads API, if not migrating to github.com. Defaults to https://uploads.github.com");
public Option<bool> QueueOnly { get; } = new("--queue-only")
{
Description = "Only queues the migration, does not wait for it to finish. Use the wait-for-migration command to subsequently wait for it to finish and view the status."
Expand Down
3 changes: 1 addition & 2 deletions src/gei/Commands/MigrateRepo/MigrateRepoCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public MigrateRepoCommand() : base(
};
public Option<string> TargetUploadsUrl { get; } = new(
name: "--target-uploads-url",
description: "The URL of the target uploads API, if not migrating to github.com. Defaults to https://uploads.github.com")
{ IsHidden = true };
description: "The URL of the target uploads API, if not migrating to github.com. Defaults to https://uploads.github.com");

// GHES migration path
public Option<string> GhesApiUrl { get; } = new("--ghes-api-url")
Expand Down
Loading