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

Uploaded Source

File details

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

File metadata

  • Download URL: gitlab-migrate-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0b913ff46c4fbb65105c5382d4b2203ff697c3cc099573f008f147ec97a2976e
MD5 0dd6b8b885838cb1f27a86ffcad068f7
BLAKE2b-256 a0ee4af4949f365f09edbc253e15c1b42524d2780b3d28c002008820b083ec56

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