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.7.tar.gz (9.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gitlab-migrate-0.1.7.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.1

File hashes

Hashes for gitlab-migrate-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e9384d3fedc53724a8186d721b38d07fbb77508cf125f168bb390b331e515811
MD5 b591d3ea5d454ecaec458b799ac159b8
BLAKE2b-256 c3f11659c87a82d0afcfb878b20994cdbb0909baaa72244e582981ea4f51b016

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