Skip to content

Releases: github/gh-gei

v0.30

28 Oct 15:45
6d43c5f
Compare
Choose a tag to compare
  • Added logging to gh gei wait-for-migration and gh gei migrate-org --wait, showing the number of repos that have been migrated so far

v0.29

25 Oct 15:20
54c46b8
Compare
Choose a tag to compare
  • Added additional retry logic covering the case when polling for migration status fails for any reason (along with a few other situations)
  • Added --aws-bucket-name to gh gei generate-script and removed --azure-storage-connection-string.

v0.28

17 Oct 18:35
837f39b
Compare
Choose a tag to compare
  • Fixed a bug where uploading archives to S3 still required --azure-storage-connection-string to be passed.

v0.27

07 Oct 19:01
faba38e
Compare
Choose a tag to compare
  • 6 months ago in v0.10, we deprecated the --ssh flag, making it silently do nothing. Now, we’ve removed the flag entirely, so the CLI will error if you try to specify it. If you have any scripts that include the --ssh flag, you must remove that flag or the script will break.
  • fixed a bug where secrets were not getting scrubbed from the logs in some circumstances
  • If create-team fails when linking an IdP group with an HTTP 400, we will retry
  • If create-team fails when removing the initial team member, it will retry
  • In v0.25 we started publishing ado2gh as an extension to the gh CLI. However, we didn't update ado2gh generate-script to use the new syntax in the generated migration script. Now it will, and you will need the gh ado2gh extension installed in order to run the generated migration script.
  • Added --ghes-api-url as an optional arg to the grant-migrator-role and revoke-migrator-role commands for both ado2gh and gei.
  • Added AWS support for archive uploads to gei using the --aws-bucket-name, --aws-access-key and --aws-secret-key arguments.

v0.26

12 Sep 20:21
4815938
Compare
Choose a tag to compare
  • Retry all failed GET requests made to Github, Azure Devops, and Bitbucket Server.

v0.25

02 Sep 23:08
8375903
Compare
Choose a tag to compare
  • We are now shipping all functionality for Azure DevOps -> GitHub migrations as a new extension to the GitHub CLI. Run gh extension install github/gh-ado2gh to install. All commands are the same as the previous ado2gh CLI (e.g. gh ado2gh generate-script). If you were previously using gh gei to handle ADO migrations (instead of the separate ado2gh stand-alone CLI), that functionality has now been moved to the gh ado2gh extension. gh gei is solely used for GitHub -> GitHub migration scenarios.
    • We will continue shipping ado2gh stand-alone CLI in this release and probably the next couple, after that the only way to acquire new versions will be via the gh extension.
    • Technically in this release the ADO capabilities in gh gei have only been hidden from the built-in help, but will still work and give the user a warning that they should be using gh ado2gh instead. In a future release we will remove them entirely.
    • Our docs have been updated to reflect these changes and can be accessed here: https://docs.github.com/en/early-access/enterprise-importer

v0.24

25 Aug 18:45
0fdfcd9
Compare
Choose a tag to compare
  • Added --lock-source-repo option to gh gei migrate-repo and gh gei generate-script commands. This will make the source repo read-only as part of the migration.

v0.23

17 Aug 21:02
31fc7fe
Compare
Choose a tag to compare
  • Added create-team command to gh gei.
  • Reduced # of REST API calls used to avoid rate limiting challenges
  • Changed how we do the version check to avoid warnings about being rate limited
  • Checks for an environment variable GEI_DEBUG_MODE and if set to 'true' will emit additional data in the verbose log file

v0.22

13 Jul 22:22
9a46741
Compare
Choose a tag to compare
  • added --repo-list argument to ado2gh generate-script. This accepts a repos.csv file previously generated by ado2gh inventory-report. This can be used to split a large migration up into batches of repos.
  • --github-pat arg in the gei reclaim-mannequin command was renamed to --github-target-pat to follow the same naming convention for other commands like gei migrate-repo or gei generate-mannequin-csv
  • ado2gh inventory-report command now also reports the compressed size of each repo in repos.csv.
  • fixed bug in gh gei generate-script so that it properly respects the --no-ssl-verify argument.
  • ado2gh inventory-report now accepts --minimal flag. If set, it generates the CSVs with the bare minimum info but it significantly speeds up their generation.
  • Added is-pat-org-admin field to orgs.csv generated by ado2gh inventory-report to indicate whether the PAT used to query the org data is an org admin.

v0.21

28 Jun 16:56
027a1e0
Compare
Choose a tag to compare
  • generate-script command in ado2gh and gh gei will no longer generate an empty script if no migratable repos were found.
  • --ado-pipeline arg in the ado2gh rewire-pipeline command will now accept a pipeline name without the full pipeline path, so long as there is only one pipeline found that matches that name. If there are multiple pipelines with the same name (in different pipeline folders), you will need to provide the full pipeline path.
  • Resolved a bug where the migrate-repo command wouldn't queue a migration if the target repo had recently been renamed.