Skip to content

Releases: github/gh-bbs2gh

v0.32

25 Jan 23:12
0f9a8ac
Compare
Choose a tag to compare
  • Improve error messages when the specified target organization or enterprise cannot be found
  • Mask the value for AWS_ACCESS_KEY and AWS_SECRET_KEY parameters in log output
  • Fix log output so we don't say we've finished upload to Azure Blob Storage when you're actually using Amazon S3
  • Extend the expiration of blob storage signed URLs from 24hrs to 48hrs so migration can still be successful even if there is a long queue of migrations
  • Skip the upload to Azure/AWS blob storage when migrating from GHES 3.8+, as GHES will now handle putting the archives into blob storage
  • Fixed a bug where bad credentials were incorrectly being treated as rate-limit errors

v0.31

07 Nov 21:38
0f9a8ac
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
0f9a8ac
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
0f9a8ac
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:36
0f9a8ac
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
0f9a8ac
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:22
0f9a8ac
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
0f9a8ac
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:46
0f9a8ac
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
0f9a8ac
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