Skip to main content

Commands to migrate repositories between GitLab servers

Project description

gitlab-migrate

Migration utility for GitLab servers

Usage

Preparation

  1. Get private token from source GitLab instance
  2. Get private token from destination GitLab instance
  3. Create a configuration file (see examples/)
  4. Run one of the commands below

Information

gitlab-migrate-info config.yml --output-file=repos_src.csv
gitlab-migrate-info config.yml --output-file=repos_dst.csv --server=destination

Migration

# testing
gitlab-migrate config.yml --noop

# migration
gitlab-migrate config.yml

Development

git clone https://github.com/kreczko/gitlab-migrate.git
cd gitlab-migrate
pip install -U -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitlab-migrate-0.1.1.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file gitlab-migrate-0.1.1.tar.gz.

File metadata

  • Download URL: gitlab-migrate-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

File hashes

Hashes for gitlab-migrate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a970e5bdd9193a4998432f4cc01f5c7d71dd01d9e82b89764c72a9c995d3253d
MD5 806571e9f905e49030fcbbac30d626d2
BLAKE2b-256 92f907069b489a51078914224131996e2625aca65f8682572f5b9532fd9279a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page