A tool to clone efficiently all the repos in an organization
Project description
cloner
A tool to clone efficiently all the repos in an organization
Current status of the project -> here
Requirements
- pyenv
- pyenv-virtualenv
- Virtual env created with Python 3.10 (supported version)
- Install requirements with
make install
Usage
With the virtualenv active:
Usage: cloner [OPTIONS] GITHUB_ORGANIZATION
Clones all visible repositories for a given organization.
Options:
--version Show the version and exit.
--token TEXT GitHub token to read private repos.
--threads INTEGER Number of threads and processes to use.
[default: 4]
--logging [ERROR|WARNING|INFO|DEBUG]
Logging level [default: INFO]
--help Show this message and exit.
Running Tests
With the virtual env active:
make install-dev
make unit
Contributing
Check the CONTRIBUTING.md file.
Security
If a security issue is found, please follow the instructions in the SECURITY.md file.
License
Makefile
and setup.py
based on Skyscanner cfripper.
Other & Troubleshooting
Multithreading doesn't work to clone repos, since the os.system
call is 1 for each PID. The splitting is done with
multithreading, the cloning with multiprocessing. Same amount of threads and processes.
Stargazers over time
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
wr-cloner-0.0.1a0.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for wr_cloner-0.0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49121f58dce93399e96746c38a7d29e6deb5a6bce6affebda5c8b53081876d5 |
|
MD5 | 248aaf6a78a61c1a937192329f5a7406 |
|
BLAKE2b-256 | 2d5144a4f9ccc75f694a53392d7c063ac13c9575c593639a8aae6f7912ce3319 |