|
|
|
[[_TOC_]]
|
|
|
|
|
|
|
|
# Import done by Gitlab admins
|
|
|
|
|
|
|
|
As the person who wants to migrate a repository to Gitlab:
|
|
|
|
|
|
|
|
* Request a new extension project space, as documented in [how to request a new extension project on gitlab](how to request a new extension project on gitlab)
|
|
|
|
* Send a [personal Github token](https://github.com/settings/tokens) to the admin
|
|
|
|
|
|
|
|
As the Gitlab admin:
|
|
|
|
|
|
|
|
* Impersonate the `robot` account (go to Admin > Users, then filter by username)
|
|
|
|
* Go to the [extensions](https://lab.civicrm.org/extensions) group, and create a new project
|
|
|
|
* Go to the Import tab, then select Github
|
|
|
|
* Enter the access token
|
|
|
|
* Careful to only import the given project (do not click that tempting "import all" button), and import directly to the 'extensions' namespace (default is under the user's space)
|
|
|
|
|
|
|
|
# Import yourself
|
|
|
|
|
|
|
|
(this has not been tested)
|
|
|
|
|