have over 700 repositories • To choose projects to move is difficult and boring... •Some teams do not want GHE We need a way to Switch to GHE Gradually
the remote will be directly mirrored into refs/ → “git remote update“ replaces everything under refs/ by GHE repos’s refs/ • This is the same as “git clone --mirror” [remote "origin"] fetch = +refs/*:refs/* mirror = true url = [email protected]:/hatena/Hatena-Bookmark DPOpH!NJSSPSETU )BUFOB`TSFQPT
• Confirm the repos has mirroring config at pre- receive hook by ghm API 3. Set push-denial hook to Hatena repos http://ghm/api/repos?mirror=projects/Hatena-Bookmark HINSFQPT"1* Returns repos info if the repos pair is registered.
used for production. → mirroring •Anyone can start using GHE easily → git-hatena •GHE failure should not cause to stop deployment. → mirroring, rich server