Skip to content

Releases: github/gh-gei

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.

v0.21

28 Jun 16:56
027a1e0
Compare
Choose a tag to compare
  • 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.
  • Resolved a bug where the migrate-repo command wouldn't queue a migration if the target repo had recently been renamed.

v0.20

21 Jun 19:50
9ea87ed
Compare
Choose a tag to compare
  • fixed a bug where generate-script would not properly handle Team Projects with spaces (or other invalid for github chars) in the name
  • fixed bug where inventory-report would fail if your computer's datetime format settings were dd/mm/yyyy
  • Support excluding releases when --skip-releases flag is provided in gh gei migrate-repo command for GHES migration path. Previously releases were excluded by default but now they are going to be included unless --skip-releases is provided.

v0.19

15 Jun 19:56
51fafbf
Compare
Choose a tag to compare
  • Added inventory-report command to ado2gh. This command will generate a few CSV reports of all the orgs, team projects, repos and pipelines it can access. Along with some extra information that can be useful when planning a large migration (e.g. PR count per repo, most active contributer, pushes in past year, last push date, etc)
  • Add --skip-releases flag to gh gei for migrate-repo and generate-script commands to support skipping releases when migrating.
  • wait-for-migration progress report in both ado2gh and gh gei now logs the target repository name in addition to migration id for more readability.
  • Update share-service-connection command to be idempotent. If you try to share a service connection with a Team Project where it has been previously shared, the command will now do nothing and return success (previously it would error and fail).

v0.18

07 Jun 17:37
5b17740
Compare
Choose a tag to compare
  • Add download-logs command to download migration logs
  • Add --download-migration-logs option to generate-script command
  • Log GitHub request id into the verbose log for each GitHub API call (this can be useful for GitHub support if something goes wrong)

v0.17

19 May 19:10
7ca098a
Compare
Choose a tag to compare
  • Increased download/upload timeouts when migrating from GHES (some customers were hitting timeout errors with large repos and/or slow connections)

v0.16

10 May 16:46
2193254
Compare
Choose a tag to compare
  • Add capability to reclaim mannequins in bulk by using a CSV file
    • Added new command generate-mannequin-csv
    • Updated reclaim-mannequin command to accept --csv argument

v0.15

27 Apr 20:22
a6f94e2
Compare
Choose a tag to compare
  • integrate-boards no longer requires a PAT with the All Accessible Organizations setting
  • Fixed incorrect repo url in migration logs when migrating from GHES
  • Added reclaim-mannequin command to ado2gh (previously it was only available in gh gei)

v0.14

19 Apr 20:15
e5ef679
Compare
Choose a tag to compare
  • Significant overhaul of how the generate-script command args work. Now by default it will generate a minimal script that only migrates the repos, and you will need to pass additional flags to script out additional automation (e.g. --rewire-pipelines, --create-teams, etc). The --all flag will include all the automation in the script (the same as the previous version with no flags).
  • Updates most commands to be idempotent. They will check if there is anything to do, and if not they will print a message to that effect and complete successfully. E.g. create-team will check if the team already exists and if so exit as success (compared to previously where it would crash). The following commands have been updated:
    • migrate-repo
  • A generated script using ado2gh or gh gei now include the CLI version that was used to generate it.

v0.13

11 Apr 19:40
4f5adee
Compare
Choose a tag to compare
  • Compare the current running version against the latest version available on github.com and print out a message letting you know if you are up to date or not
  • Add reclaim-mannequin command. Reclaims a mannequin, by sending a mannequin attribution invitation to the target user. If the mannequin has been previously mapped (and accepted) it will refuse to do so unless the --force flag is set.
  • Sometimes wait-for-migration would error with a 502 error, now it will retry automatically when this happens
  • Sometimes create-team would error with a 404 error, now it will retry automatically when this happens