Skip to main content

I am cloneholio! I need syncing of my repos.

Project description

cloneholio

PyPI Version AUR Version

Maintain local backups of all Git repositories belonging to a user or group.

Features:

  • Supports both GitHub and GitLab.
  • Back up all repositories owned by users, groups, and subgroups.
  • Back up individual repositories.
  • Scale to a configurable number of processes.

Installation

Token Setup

GitHub

Create a personal access token (Tokens (classic))) with the following permissions:

  • repo:status

GitLab

Create a personal access token with the following permissions:

  • api (Access the authenticated user's API)

Example

This will back up all repositories owned by the python organization 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.


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


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.15.1.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloneholio-0.15.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file cloneholio-0.15.1.tar.gz.

File metadata

  • Download URL: cloneholio-0.15.1.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for cloneholio-0.15.1.tar.gz
Algorithm Hash digest
SHA256 18214df4846b899f4e922d0e119847e3b19f7631c81b78cbb7bca28760d6542b
MD5 59d6e103b0e8aa4671736d69c70773ff
BLAKE2b-256 bce3a85ad0f936c4cfc634147ea59b1732e28b63d2a0d46f175cdc3d1fa24c90

See more details on using hashes here.

File details

Details for the file cloneholio-0.15.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cloneholio-0.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 700f520e61469134c6cfe20cc25dc48389aafdc40c354e225113bde981f424c4
MD5 b4676d5b2cbdaafc8cb803f3e1e5a8b3
BLAKE2b-256 996bee006c110427e54808503ca6d75469f0f9c19cd23bd39d14408a2c1a000a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page