These instructions are specifically for any member of the school of Computer Science who would like to migrate their Gitlab repository from the school’s instance to the central University service.
If you have difficulty with any element of the instructions that follow, the IT Service Desk should be your first point of contact for assistance:
Tel: 02922 511111
There are two options to migrate your Computer Science Git repositories to the central service. The first is using a URL. This is the simplest way to migrate, but it will not keep any of the related data connected to the repository such as issues and merge requests. If there is a requirement to keep all metadata, please use option two; migration with related data. In this process you will export your repository from the Computer Science Gitlab and then import it into the central service.
Under "Import project from" select "Repo by URL".
Copy and paste the URL to your Computer Science repository.
Once ready, please click "Create project".
After that, a message should appear to let us know that the project is being imported. If successful, the message "The project was successfully imported."" will be shown.
Go to https://gitlab.cs.cf.ac.uk and log in. Once logged in, please click on "Settings" on the left navigation bar.
On the next menu, select "Expand" under "Advanced".
Select "Export project".
You should receive an email with a link to obtain your exported project. Once downloaded, visit https://git.cardiff.ac.uk and log in.
After logging in, click on "New Project".
In the next menu, select "Import Project" and "GitLab export" after that.
Select your imported project file and click on “Import project”.
After that, a message should appear to let us know that the project is being imported. If successful, the message "The project was successfully imported." will be shown.