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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cal_gitlab_mirror-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for cal_gitlab_mirror-1.1.0-py3-none-any.whl |
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
|
Security for cal-gitlab-mirror 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.