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.3.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for cloneholio-0.13.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a9ec2a1150128fc12f4bf1e25418cfc80b8e5369e74e7a576aad41f09727bb4 |
|
MD5 | 47fad2577f583f68dc5f6519df8dad81 |
|
BLAKE2b-256 | babcd890c3438185e0b597cec677441a9a86eef5b759456aa92ae9f4449c2a0d |