Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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

Metadata

Release files for cal-gitlab-mirror 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for cal-gitlab-mirror 1.1.0
File Interpreter ABI Platform
cal_gitlab_mirror-1.1.0-py3-none-any.whl Python 3 none any Details

Release files / cal_gitlab_mirror-1.1.0-py3-none-any.whl

Download URL cal_gitlab_mirror-1.1.0-py3-none-any.whl
Size 41.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba69b94028baea38d714f4356f3f34fe936f0cfd196899ab45230779efe66815
BLAKE2b-256 checksum
How to use checksums
7600795d95e9bb257f5ddaacf316b0c5204f7bda69e3e4aeed76f8345f4845ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page