Releases: github/gh-gei
Releases · github/gh-gei
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.
v0.25
- 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 previousado2gh
CLI (e.g.gh ado2gh generate-script
). If you were previously usinggh gei
to handle ADO migrations (instead of the separateado2gh
stand-alone CLI), that functionality has now been moved to thegh 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 thegh
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 usinggh 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
- We will continue shipping
v0.24
- Added
--lock-source-repo
option togh gei migrate-repo
andgh gei generate-script
commands. This will make the source repo read-only as part of the migration.
v0.23
- Added
create-team
command togh 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
- added
--repo-list
argument toado2gh generate-script
. This accepts a repos.csv file previously generated byado2gh inventory-report
. This can be used to split a large migration up into batches of repos. --github-pat
arg in thegei reclaim-mannequin
command was renamed to--github-target-pat
to follow the same naming convention for other commands likegei migrate-repo
orgei generate-mannequin-csv
ado2gh inventory-report
command now also reports the compressed size of each repo inrepos.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 toorgs.csv
generated byado2gh inventory-report
to indicate whether the PAT used to query the org data is an org admin.