I am cloneholio! I need syncing of my repos.
Project description
I am cloneholio! I need backup of my repos.
Maintain local backups of all Git repositories belonging to a user or group.
Features:
Supports both GitHub and GitLab.
Backup all repositories owned by users, groups, and subgroups.
Backup individual repositories.
Scale to a configurable number of processes.
Installation
$ pip3 install cloneholio
Example
This will backup all repositories owned by the python organziation on GitHub.
$ cloneholio -t TOKEN -p github python
INFO Begin "github" processing using "/home/draje/Code/GitLab/nvllsvm/cloneholio"
INFO Processing python/asyncio
INFO Processing python/bpo-builder
...
INFO Processing python/typing
INFO Finished "github" processing 62 repos with 0 failures
Help
$ cloneholio -h
usage: cloneholio [-h] [-n NUM_PROCESSES] [-d DIRECTORY] -t TOKEN
[-p {github,gitlab}] [--depth DEPTH] [--insecure]
[-u BASE_URL] [--version]
paths [paths ...]
Maintain local backups of all Git repositories belonging to a user or group.
Token creation:
- GitLab
Permissions: api
URL: https://gitlab.com/profile/personal_access_tokens
- GitHub
Permissions: repo:status
URL: https://github.com/settings/tokens/new
positional arguments:
paths
optional arguments:
-h, --help show this help message and exit
-n NUM_PROCESSES Number of processes to use
-d DIRECTORY, --directory DIRECTORY
-t TOKEN, --token TOKEN
-p {github,gitlab}, --provider {github,gitlab}
--depth DEPTH Corresponds to the git clone --depth option
--insecure Ignore SSL errors
-u BASE_URL, --base-url BASE_URL
--version show program's version number and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloneholio-0.13.4.tar.gz
(7.8 kB
view details)
Built Distribution
File details
Details for the file cloneholio-0.13.4.tar.gz
.
File metadata
- Download URL: cloneholio-0.13.4.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.12.4 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1933f230b5cf805cf7338d791d70a06a6a6d57b7a4c1e24357f32ac875dff4 |
|
MD5 | ce6320f45f1e34128350071f8bfeed8a |
|
BLAKE2b-256 | 6ca85d9ded06211fcd730884b4cad8259187a3a49176832e7e51d92269e5b407 |
File details
Details for the file cloneholio-0.13.4-py3-none-any.whl
.
File metadata
- Download URL: cloneholio-0.13.4-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.12.4 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cac38c3018f75dcbb738e371e65f15035fc05dff968d3efbf8f03c3c17d69e1 |
|
MD5 | fe4d2e44be9472da9702ae753affbeb9 |
|
BLAKE2b-256 | 166c8241b51eb77b89a85e1ce8e74c5db992b6ffdedfbad09625a68d6b717c9b |