Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
gh gei generate-script
the script will now validate that the necessary environment variables are setgh gei migrate-repo
in case of any failuremigrate-repo
and migrate-org
to wait for the migration to finish (previously the default was to only queue it unless you passed --wait
). If you want the previous default behavior of queuing it only (e.g. for parallel scripts that queue many migrations at once) there is a new --queue-only
option. The --wait
option still works but is now obsolete and will print a warning if used, and will be removed in a future version. generate-script
commands have all been updated to generate scripts with the new options/defaults. Any already existing migration scripts that relied on the default (i.e. parallel) behavior, will continue to work but will now run sequentially instead of in parallel. They should be updated to pass in --queue-only
to retain the previous parallel behavior (or re-generated with the updated generate-script
command).Published by github-actions[bot] over 1 year ago
gh gei migrate-code-scanning-alerts
which migrates all code-scanning analysis and alert states for the default branch. This is useful if you want to migrate the history of code-scanning alerts together with their current state (open, reopened, fixed). For dismissed alerts, the dismissed-reason (e.g. won't fix, false positive etc) and dismissed-comment will also be migrated to the target repo.gh bbs2gh generate-script
so it supports more than 25 projects/repos--bbs-project-key
to --bbs-project
in gh bbs2gh generate-script
for consistencycreate-team
might not work due to a race conditiongh ado2gh generate-script
or gh bbs2gh generate-script
the script will now validate that the necessary environment variables are setPublished by github-actions[bot] over 1 year ago
migrate-repo
is used with a target personal access token (PAT) with insufficient permissions--no-ssl-verify
flag is honored when downloading archives from GHES--bbs-project
and --bbs-repo
are now both required in gh bbs2gh migrate-repo
command when --bbs-server-url
is set--keep-archive
flag to gh gei migrate-repo
and gh gei generate-script
. When migrating from GHES this will skip the step where we delete the archive from your machine, leaving it around as a local file.gh gei reclaim-mannequin --csv
if a username doesn't existgh bbs2gh migrate-repo
Published by github-actions[bot] over 1 year ago
--archive-download-host
with gh bbs2gh migrate-repo
and gh bbs2gh generate-script
, rather than taking the host from the --bbs-server-url
gh gei
and gh bbs2gh
Published by github-actions[bot] over 1 year ago
gh bbs2gh grant-migrator-role
so it doesn't throw System.InvalidOperationException
AWS_ACCESS_KEY
and AWS_SECRET_KEY
environment variables to AWS_ACCESS_KEY_ID
and AWS_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.User-Agent
header with the current CLI version when downloading migration archives from GitHub Enterprise Server--no-ssl-verify
option to gh bbs2gh generate-script
and gh bbs2gh migrate-repo
commands to support migrating from a Bitbucket Server or Bitbucket Data Center instance that uses a self-signed SSL certificatePublished by github-actions[bot] over 1 year ago
gh gei
and gh bbs2gh
. When specifying a session token, the AWS region must also be specified.gh gei generate-script
and gh ado2gh generate-script
more resilient by not halting the entire script if queuing a repo migration fails.Published by github-actions[bot] over 1 year ago
windows-386
buildreclaim-mannequin
with the --mannequin-user
and --target-user
parametersPublished by github-actions[bot] over 1 year ago
AWS_ACCESS_KEY
and AWS_SECRET_KEY
parameters in log outputPublished by github-actions[bot] almost 2 years ago
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.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 )Published by github-actions[bot] almost 2 years ago
gh gei wait-for-migration
and gh gei migrate-org --wait
, showing the number of repos that have been migrated so farPublished by github-actions[bot] almost 2 years ago
--aws-bucket-name
to gh gei generate-script
and removed --azure-storage-connection-string
.Published by github-actions[bot] about 2 years ago
--azure-storage-connection-string
to be passed.Published by github-actions[bot] about 2 years ago
create-team
fails when linking an IdP group with an HTTP 400, we will retrycreate-team
fails when removing the initial team member, it will retryado2gh
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.--ghes-api-url
as an optional arg to the grant-migrator-role
and revoke-migrator-role
commands for both ado2gh
and gei
.gei
using the --aws-bucket-name
, --aws-access-key
and --aws-secret-key
arguments.Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
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.
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.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.Published by github-actions[bot] about 2 years ago
--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.Published by github-actions[bot] about 2 years ago
create-team
command to gh gei
.Published by github-actions[bot] over 2 years ago
--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
.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.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.Published by github-actions[bot] over 2 years ago
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.migrate-repo
command wouldn't queue a migration if the target repo had recently been renamed.