【文件属性】:
文件名称:gitlab-to-github-migration:将GitLab项目迁移到GitHub
文件大小:31KB
文件格式:ZIP
更新时间:2021-02-04 07:06:43
github-api gitlabmigration github-migration GitHubAPIPHP
警告 :warning:
该项目满足了rtCamp自己的需求。 rtCamp不再需要该项目的性质,因此不再对其进行维护。
您的支持请求和请求请求可能无法得到答复。
:skull_and_crossbones: 使用风险自负。 :skull_and_crossbones:
要求
PHP 7.1或更高版本。
建立
通过Composer下载依赖项
composer install
创建.env文件
cp .env.sample .env
使用所有详细信息更新.env 。
注意:某些端点需要admin / sudo令牌,例如获取摘要。
跑 :rocket:
php main.php
获取用户映射文件
这将为GitLab和GitHub用户名创建用户映射,并相应地更新其在注释,描述和受让人中的引
【文件预览】:
gitlab-to-github-migration-master
----stats.php(2KB)
----autoloader.php(235B)
----LICENSE.txt(1KB)
----classes()
--------user.php(4KB)
--------repository.php(26KB)
--------team.php(2KB)
--------github.php(33KB)
--------gitlab.php(723B)
--------base.php(1KB)
----main.php(4KB)
----functions.php(5KB)
----composer.lock(40KB)
----README.md(5KB)
----.env.sample(803B)
----.gitignore(188B)
----bootstrap.php(386B)
----composer.json(378B)