Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --download-migration-logs option to generate-script command for g…
…ei and ado2gh (#382) * Add --download-migration-logs option to generate-script. * Wrap a couple commands in Exec in GenerateScriptCommand. * Remove unused param to MigrateGithubRepoScript in GenerateScriptCommand. * Add more tests for GenerateScriptCommand with migration logs. * Remove extra param from MigrateGithubRepoScript calls. * Add release notes for --download-migration-logs option. * Add --download-migration-logs to ado2gh generate-script. * Always check exit code of migrate-repo in parallel ADO scripts. * Add tests for downloading migration logs to GenerateScriptCommandTests. * Pass --download-migration-logs to integration tests. * Fix possibly null variable in GenerateScriptCommandTests. * Add DownloadMigrationLogs to GenerateScriptOptions in GenerateScriptCommand. * Remove some unused parameters from GenerateScriptCommand. * Include download-logs command ado2gh generate-script's --all. * Add AssertMigrationLogFileExists integration test helper. * Add ado2gh integration tests to ensure migration logs exist. * Add gei integration tests to ensure migration logs exist. * Use better log message for AssertMigrationLogFileExists helper. * Use async Task in AssertMigrationLogFileExists helper. * Add --wait option to download-logs command for gei. * Add --wait option to download-logs command for ado2gh. * Add --wait to download-logs in gei GenerateScriptCommand. * Add --wait to download-logs in ado2gh GenerateScriptCommand. * Remove unnessary assignments from DownloadLogsCommand classes. * Fix style to ifs in DownloadLogsCommand classes. * Un-hide download-logs commands from gei and ado2gh. * Update gei DownloadLogsCommand to always retry with a timeout. * Update ado2gh DownloadLogsCommand to always retry with a timeout. * Add comment to timeoutMinutes var in DownloadLogsCommandTests. * Check for --timeout-minutes param in DownloadLogsCommandTests. * Don't pass --wait to download-logs in GenerateScriptCommand. * Don't pass --wait to download-logs in ado2gh GenerateScriptCommand. * Use Pascal case in names for all tests. * Use var instead of explicit type in DownloadLogsCommand classes. * Add readonly to DateTimeNow Funcs. * Fix Pascal case on a couple DownloadLogsCommand tests. * Use hard-coded timeout in gei DownloadLogsCommand. * Remove unused variable in gei DownloadLogsCommandTests. * Use hard-coded timeout in ado2gh DownloadLogsCommand. * Use constants in DownloadLogsCommandTests test classes. * Add newline in a test for gei DownloadLogsCommand. * Update grammar in DownloadLogsCommand classes. * Use syntactic sugar null check in DownloadLogsCommand classes. * Remove async from AssertMigrationLogFileExists. * Use BeTrue() in AssertMigrationLogFileExists. * Use implicit type in for loops in DownloadLogsCommand classes. * Remove redundant cast to string in DownloadLogsCommandTests classes. * Add 24h availability warning to gei DownloadLogsCommand. * Add 24h availability warning to ado2gh DownloadLogsCommand. * Remove null params to Invoke in DownloadLogsCommandTests classes. * Remove --download-migration-logs from ado2gh integration tests. * Don't include org name in start of migration log output. * Don't test for log output in DownloadLogsCommand classes. * Call download-logs command after other ado2gh commands. co-authored-by: Dylan Smith <[email protected]> * Add DOWNLOAD MIGRATION LOGS output in ado2gh generate-script. * adopted Polly for retry logic * Refactor gei test for single ADO repo with migration logs. * Refactor gei test for ADO server with single repo and migration logs. * Refactor remaining gei GenerateScriptCommandTests. * Join GetOsDistPath() in AssertMigrationLogFileExists. * Make _httpRetryInterval readonly in RetryPolicy. * Use Polly in gei DownloadLogsCommand. * Remove unused "using" in DownloadLogsCommandTests. * Fix broken tests from merging main. * Add verbose logs to HttpDownloadService. * Fix curly location in HttpDownloadService. Co-authored-by: Dylan Smith <[email protected]>
- Loading branch information