Gitlab tool for recursive clone
Project description
Tool for easy cloning whole gitlab structure to your local machine.
Free software: MIT license
Requirements
Requests
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 --token token Gitlab Token --branch branch Branch to clone in all repos [by default master] --gitlab-url gitlab Gitlab address [by default gitlab.com]
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
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-clone-0.1.3.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file gitlab-clone-0.1.3.tar.gz
.
File metadata
- Download URL: gitlab-clone-0.1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c0ff3b0c9bf77bd772841a80b8ce172c974f729f7cc6be3bb139f21c598db37 |
|
MD5 | c6872d43379933bb2ba34410a0e5afa4 |
|
BLAKE2b-256 | 9c9919f5862917620a02f29baeeb38863eb2eecab85e13fdd2d253912643dc1a |
File details
Details for the file gitlab_clone-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: gitlab_clone-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8acaf88957a2026943660551bfd6f9462fd181b85bc29350ed11c37c1c1315d |
|
MD5 | 31f9dbd7e7dcff10b7b08c79326998c3 |
|
BLAKE2b-256 | 0b2bb3b2f765d8a8074b04b58d9fc77c57a48b139a26ad28a55fdfc2b4a3cf96 |