github / gh-gei

Migration CLI for GitHub to GitHub migrations
MIT License
327 stars 88 forks source link

Multipart uploads updated logic #1285

Closed begonaguereca closed 3 weeks ago

begonaguereca commented 1 month ago

Closes https://github.ghe.com/github/octoshift/issues/9496! Closes https://github.ghe.com/github/octoshift/issues/9535!


Take it out for a 🚗 :

Remember to export env variables

export GH_SOURCE_PAT=<<PAT>>
export GH_PAT=<<PAT>> 

Migrating from GitHub Enterprise Server- Multi part upload:

Sample repo to export: https://octoshift-ghe.westus2.cloudapp.azure.com/github-owned-storage/1-gib

dotnet run --project src/gei/gei.csproj -- migrate-repo --github-source-org github-owned-storage --source-repo large-1-gib --github-target-org import-testing --target-repo YOU_ADD_NEW_NAME --use-github-storage true --ghes-api-url https://octoshift-ghe.westus2.cloudapp.azure.com/api/v3 --verbose

Successful migration_id: RM_kgDaACQ0MzZmN2RjMS0wNjk4LTRlYjctYmMzNy0wMTAxNGRhOTQ3YTU