普通の時の手順も一応。こっちだと、GitHubからIssue(とPull Request)も取り込めます。
git clone --mirror 旧repo
cd repo名
git aisp repo-create repo名
git push --mirror 新repo
cd ..
git gh-issue clone --mirror 旧repo
cd repo名-issues
git aisp issue-push --mirror --old-type=aisp 新repo
※GitHub Enterpriseを使っていた場合はgit gh-issue --help
でマニュアルを確認してください。
ちなみにこれが面倒な場合は、https://repo.aisp/add-repository から「Import existing repository」->「GitHub」を選択してください。
- GitLabとか: 「Other git server」を選択
- 手元の作業環境しか残っていない: 「Local git repository」を選択
これでもダメなら、http://orca.aisp/creative-support/tools/repo で助けを求めて下さい。
(メールアドレスの末尾がcreative.aisp
以外の場合は http://chat.creative.aisp/support/tools/repo)
※現時点で、GitHub以外からのメタデータのインポートには対応していません。