Releases: github/gh-gei
Releases · github/gh-gei
v0.35
- Fix
gh bbs2gh grant-migrator-role
so it doesn't throwSystem.InvalidOperationException
- Rename
AWS_ACCESS_KEY
andAWS_SECRET_KEY
environment variables toAWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
respectively to align with the environment variables that the AWS CLI already uses. Old environment variables are still supported but they will be removed in future. - Send a
User-Agent
header with the current CLI version when downloading migration archives from GitHub Enterprise Server - Add support for migration archives larger than 2GB when using the blob storage flow
- Add
--no-ssl-verify
option togh bbs2gh generate-script
andgh bbs2gh migrate-repo
commands to support migrating from a Bitbucket Server or Bitbucket Data Center instance that uses a self-signed SSL certificate
v0.34
- Create shared access signature (SAS) with read-only permissions - not read-write - when generating Azure Blob Storage URL
- Fixes bug where CLI would crash if the source was GHAE (while trying to parse the version)
- Add support for authenticating with AWS session tokens when using AWS S3 for archive upload in
gh gei
andgh bbs2gh
. When specifying a session token, the AWS region must also be specified. - Make parallel migrations scripts generated by
gh gei generate-script
andgh ado2gh generate-script
more resilient by not halting the entire script if queuing a repo migration fails.
v0.33
- Added support for x86 Windows machines with new
windows-386
build - Added logic to check if a target repo exists before generating GHES archives
- Fixed reclaiming a single mannequin using
reclaim-mannequin
with the--mannequin-user
and--target-user
parameters - Added logic to ensure target org exists before generating GHES archives
v0.32
- Improve error messages when the specified target organization or enterprise cannot be found
- Mask the value for
AWS_ACCESS_KEY
andAWS_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. This change only applies to GHES 3.8 onwards, which is not yet released to the public.
- Fixed a bug where bad credentials were incorrectly being treated as rate-limit errors
v0.31
- 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
- Added logging to
gh gei wait-for-migration
andgh gei migrate-org --wait
, showing the number of repos that have been migrated so far
v0.29
- 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
togh gei generate-script
and removed--azure-storage-connection-string
.
v0.28
- Fixed a bug where uploading archives to S3 still required
--azure-storage-connection-string
to be passed.
v0.27
- 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 thegh
CLI. However, we didn't updateado2gh generate-script
to use the new syntax in the generated migration script. Now it will, and you will need thegh ado2gh
extension installed in order to run the generated migration script. - Added
--ghes-api-url
as an optional arg to thegrant-migrator-role
andrevoke-migrator-role
commands for bothado2gh
andgei
. - Added AWS support for archive uploads to
gei
using the--aws-bucket-name
,--aws-access-key
and--aws-secret-key
arguments.
v0.26
- Retry all failed GET requests made to Github, Azure Devops, and Bitbucket Server.