Skip to main content

Python utility for cloning repositories

Project description

repo-cloner

Open source repository cloner.

repo-cloner is a python utility to clone multiple repositories at once without bothering to do it manual. Tool reads the information about your repositories and clone them into current directory.

main

Build Status Develop

Setup

Currently the tool is available only on test pypi repository.

$ pip install -i https://test.pypi.org/simple/ repo-cloner==0.0.4

Now try to run repo-cloner:

$ repo-cloner -h
Usage: repo-cloner [--help][-h][--repo_file][-rf]
--help, -h: prints this message
--repo_file, -rf: .yml file with list of repositories to clone

The list of repositories can be passed either:

- git@repo1.git
- https://repo2.git
- https://repo3.git

or:

dir1:
    - git@repo1.git
dir2:
    dir3:
    - https://repo2.git
    dir4:
    - https://repo3.git

If you will use the second approach then remember:

  • dir will be another directory created from the directory from where you are calling the script.

  • You cannot mix structures - list of repositories and other directories cannot lay on the same level e.g:

path1:
  - repo1
  - repo2
  - repo3
  - repo4
- repo5
- repo6
- repo7
path2:
  - repo8
  - repo9
  - repo10

Is not allowed.

License

MIT LICENSE

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

repo-cloner-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

repo_cloner-1.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file repo-cloner-1.0.0.tar.gz.

File metadata

  • Download URL: repo-cloner-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for repo-cloner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7f698b06592d8e403a978222b46fe9fc717b2769f57731916ef5754a8808e1fa
MD5 fe11d4737dded6a8c392685258c81230
BLAKE2b-256 74efa622ef8ba0d166f4c5f19b78123557317683922b28b0a02a3be958e0c89a

See more details on using hashes here.

File details

Details for the file repo_cloner-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: repo_cloner-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for repo_cloner-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1e6eb45c18f5f8c1acb674c6a40b58ec9f0208e35abdda6987b3c3fd9e2270d
MD5 7a3ce270bbc4511e48bb27ce8da5f51f
BLAKE2b-256 757913595a29d388d2f868a2dc42b48c233c3c8a97c185c9fb5ff418e17ec3a6

See more details on using hashes here.

Supported by

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