Skip to content

Releases: github/gh-gei

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

v0.12

04 Apr 18:19
76944fd
Compare
Choose a tag to compare
  • Add ado-team-project parameter to ado2gh generate-script command
  • Add ado-team-project parameter to gh gei generate-script command
  • All commands in both ado2gh and gei now optionally accept required PATs as args as an alternate way to setting them as env variables.

v0.11

30 Mar 17:38
937314c
Compare
Choose a tag to compare
  • Updating 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:
    • disable-ado-repo
  • The change to automatically set the +x bit on the generated migration script has been rolled back (introduced in v0.10). We discovered a bug with this that caused generate-script to crash on MacOS. We're temporarily rolling this back to unblock customers while we investigate and fix the problem.