gh-gei icon indicating copy to clipboard operation
gh-gei copied to clipboard

Support for sha mapping file to update PRs during migration

Open robandpdx opened this issue 3 years ago • 1 comments

Description

Before migration from GHES to GHEC, a customer with large files in a repo must first migrate those large files to LFS. This rewrites the git repo history, affecting PRs. The PR shas will be outdated. You can output a csv mapping file of the old shas to the new ones using git lfs --object-map=<path> command. And if using ECI, a user can manipulate the pull_request json files in the tarball to rewrite the previous shas with the new ones.

Many migrations into GitHub cloud require LFS migration. GEI should support a smooth way for customers to provide this mapping file generated from git lfs migrate in order to update the PRs during migration.

robandpdx avatar Aug 02 '22 17:08 robandpdx

This would be a good feature to consider if/when we add LFS support to the CLI. Tracked in #440

I don't have an ETA when we might tackle LFS support, but not this quarter.

dylan-smith avatar Aug 08 '22 19:08 dylan-smith