Perform Batch Git operations based on Config file
Project description
Batch-clone you Git repos
What:
Define all your Git repos and the folder structure they sould be organized (if you have one) in a YAML file and then just run the script. It uses the Git CLI for that.
If you want to clone repos by SSH, make sure your keys are set and working.
Why:
I had a problem: whenever I had to use a new PC at work or at home, I had to clone several Git repos. This quickly became a PITA, so I created this small Python script to do that for me.
Feedback
All and any feedback, suggestion, improvement and/or bug-fix is highly appreciated. This is a small script but quite useful, so I hope it will also help others...
Future
I hope to keep improving it. My task list is, so far:
- Support parameters on the command line:
- Prefix Path
- Config File
- Git Key Location and/or User/Pass
- Function to manage the YAML from the command line (CRUD the config)
- Clone repositories in parallel
- Error handling
- Package as PyPy
- Use a Git library (such as GitPython) instead of the CLI
Once again, any and all suggestion and feedback is much appreciated.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitbatch-0.0.1.tar.gz.
File metadata
- Download URL: gitbatch-0.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92c926b387b98c56a29de022e55b787267a738dc7a51df77c04808c8a65c1927
|
|
| MD5 |
7a60c4bc3aa336fe8b351c1dd681b660
|
|
| BLAKE2b-256 |
9e700cce6c9005291ebf6ae116552ce173a917918e838c61df9b0ba680e781a3
|
File details
Details for the file gitbatch-0.0.1-py3-none-any.whl.
File metadata
- Download URL: gitbatch-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51ba494326ce968c21c49d2721b754ab85e864d28c8d3679bb12caf8c3c5236c
|
|
| MD5 |
6899f58237a6a68a07ef55dff56ec48d
|
|
| BLAKE2b-256 |
ecbe1ae473e4bfb5356dcd82967220ae6aec0f5061c28cfa21087112c453d2b8
|