Skip to main content

A tool to mirror GitLab repositories between two GitLab instances

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

cal-gitlab-mirror

A tool to mirror GitLab repositories between two GitLab instances.

Installation

pip install cal-gitlab-mirror

Or run directly with uv:

uvx cal-gitlab-mirror --help

Quick Start

# Mirror from source GitLab
cal-gitlab-mirror pull \
  --source-url https://gitlab.com \
  --source-token $SOURCE_TOKEN \
  --source-group myorg \
  --output-dir ./mirror

# Push to destination GitLab
cal-gitlab-mirror push \
  --dest-url https://gitlab.internal.com \
  --dest-token $DEST_TOKEN \
  --dest-group mirror/myorg \
  --input-dir ./mirror

Documentation

See the full documentation for detailed usage and configuration options.

Development

# Set up development environment
make dev

# Run linting and type checking
make check

# Auto-format code
make format

# Build wheel and docs
make build

Publishing

Publishing requires cal-publish-python configuration. See the cal-publish-python documentation for setup.

# Build first
make build

# Publish wheel to PyPI and docs to GitLab Pages
make publish

Licence

MIT License — Copyright 2026 Cyber Assessment Labs

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cal_gitlab_mirror-0.5.6-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file cal_gitlab_mirror-0.5.6-py3-none-any.whl.

File metadata

File hashes

Hashes for cal_gitlab_mirror-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f143ac54e1fa49f4842a1877019330962a00e74dec722c2b5bcd4f90c1e1be9d
MD5 7fc43716b4de33e3b36b1ff1dfdc1986
BLAKE2b-256 e0c1e4b8d89a7a5e27e50fa0aae706f09b00d8d7bf78e3fc44fc891686dfa949

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