Skip to content

Releases: github/gh-gei

v0.31

07 Nov 21:38
d4dde4c
Compare
Choose a tag to compare
  • introduced a new command gh gei migrate-secret-alerts which migrates the state and resolution of secret scanning alerts. This is useful if you have existing secret scanning alerts which have been closed (e.g. revoked, false positive, etc). The state (closed) and resolution will be migrated over to the target repo with this command.
  • make gh gei migrate-org visible in the help menu as this is now a published feature of GEI see more. We are now capable of moving an org with all their repositories, teams and certain cross repository references by running one command. ( Currently does not support GitHub Enterprise Server )

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.