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

Uploaded Source

File details

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

File metadata

  • Download URL: gitlab-migrate-0.1.3.tar.gz
  • Upload date:
  • Size: 5.7 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.3.tar.gz
Algorithm Hash digest
SHA256 c74ef645b4ae7f0968b57f48d630dc642c4a07a5f65e7e791f35f045cfde05e7
MD5 f01b841f705ac09904e0ec743f372e9d
BLAKE2b-256 df885a68bd78dbd0e7732b1bd0beef20e8563d2900d2c91a623d1f30ce4670b9

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