gitlab-clone
Tool for easy cloning whole gitlab structure to your local machine.
Free software: MIT license
Requirements
Requests
Python >= 3.6
Installation
You can install “gitlab-clone” via pip:
$ pip install gitlab-clone
Usage
>>> gitlab-clone: optional arguments: -h, --help show this help message and exit --group_id group_id Id of a group in gitlab --branch branch Branch to clone in all repos [by default master] --http Clone via http instead of ssh --gitlab-url gitlab Gitlab address [by default gitlab.com] --token token Gitlab Token
Example
$ gitlab-clone –group=123 –token=MySecretToken –gitlab-url=gitlab.organization.com
For example if you clone this group https://gitlab.com/lmaolmaolmao which id is 6849299
you will have absolutely the same structure locally:
![]()
>>> tree
.
└── lmaolmaolmao
└── subgroup1
└── subgroup2
└── subgroup3
If you will use this command again gitlab-clone will just pull the updated to the existing repos, and will download new repos from the group.
Metadata
Release files for gitlab-clone 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitlab-clone-1.2.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitlab_clone-1.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 8.9 kB
Release files / gitlab-clone-1.2.0.tar.gz
| Download URL | gitlab-clone-1.2.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb5c94209f25a9ada76036a27618edae12dfc8262f9e18616b36bd618228fbb1
|
|
BLAKE2b-256 checksum How to use checksums |
ea75e2b0d3eb54a2614fbefd76b4f4d6ced9beb5537a87ae24e17c4df9faaaf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / gitlab_clone-1.2.0-py2.py3-none-any.whl
| Download URL | gitlab_clone-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7e3d61f814af3173057cdc63c712b27574b6590e2c26e5cadd4cddc6e20bfcff
|
|
BLAKE2b-256 checksum How to use checksums |
a6eec8e2efecf8bd74b27b7f165f306a13c44f0a11159db79c027f1ce0e3657b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|