github / github/gh-gei

Support for sha mapping file to update PRs during migration

Open
#540 1 comment 0 reactions 0 assignees View on GitHub
future
Dominant language
C#
Stars
478
Forks
146
Avg merge
7d 21h
Merged PRs (30d)
2

Description

## 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=` 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.