Giter Club home page Giter Club logo

gei-demo's Introduction

GitHub Enterprise Importer Demo

This repo can be used to demo GitHub Enterprise Importer (GEI)

Prerequisites

GitHub CLI
GitHub Enterprise Importer CLI
Powershell
Blob storage if migrating from GHES

Demo

  1. Make sure gh-gei is up to date by running
gh extension upgrade github/gh-gei
  1. Copy setenv.sh.orig to setenv.sh and populate it with values for your migration.
  2. Run gh-migration-analyzer.sh to demo the use of gh-migration-analyzer.
  3. Run gh-repo-stats.sh to demo gh-repo-stats.
  4. Run migrate-repo.sh to demo a repo migration.
  5. (Optional) Run gen-migration-script.sh to demo generating a migration script.
  6. (Optional, only for GitHub.com to GHEC) Run migrate-org.sh to demo an org migration.
  7. Run gen-mannequin-mapping.sh to demo generating a mannequin mapping file after a migration.
  8. Fill out the third field of the usermapping.csv file, make sure the users are members of the org, then run reclaim-mannequins.sh.
  9. Source repository locking/unlocking:
    Demonstrate source repository locking by setting LOCK_SOURCE_REPO to true in setenv.sh and running migrate-repo.sh.
    Unlock the source repository by running source-lock-remove.sh.

Notes

GEI limitations

LFS

The process to migrate repos that contain files larger than 100mb is as follows:

  1. Migrate the repo to LFS on the source system.
  2. Migrate the repo using GEI
  3. Migrate the LFS files as described here.

Note: Due to an issue with LFS, it's better to run the following, rather than git lfs push github --all

for object_id in $(git lfs ls-files --long | awk '{print $1}'); do
   git lfs push --object-id github "$object_id"
done

gei-demo's People

Contributors

amenocal avatar pmartindev avatar robandpdx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pmartindev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.