A script to migrate all your Gitorious repositories to GitLab
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
migrate.php

README.md

Gitorious to Gitlab.com Mass-Migration Script

Run this PHP script on the command line to migrate all your Gitorious repositories to GitLab.

We used this to move over 100 repositories with no loss of data.

The GitLab API is full-featured and well-documented but takes a while to get the hang of.

The private token for your account is at https://gitlab.com/profile/account.

##Usage:

From the command line

$ php migrate.php {number of projects to migrate} [specific project]

###Example Usage

Migrates top 10 projects (sorted by row id):

$ php migrate.php 10

Only migrate the one project and all the repositories it contains:

$ php migrate.php 1 this_specific_project