Rapidrepopull - Tool To Rapidly Describe In Addition To Install Repos From A List
Description
- This programme uses Python to clone/maintain multiple safety related repos using threading too multiprocessing
Goal
- The finish of this programme is to chop-chop trace too install repos from its list
Use cases
- Quickly install your favorite Security repos on a novel system
- Kick off multiple concurrent git clone tasks utilizing Python
- Add withdraw repos to the worker_data listing every bit needed inward gild to address indivudual role case/project needs
Requirements
- This programme was tested amongst Python version 3.7.2 64-bit
- Ensure the Python3 virtual surroundings parcel is installed (Ubuntu)
sudo apt-get install python3-venv
- Ensure git is installed (Ubuntu)
sudo apt-get install git
Usage Option 1 Automatic (Docker)
- Clone code repo
git clone https://github.com/tbalz2319/RapidRepoPull.git
- Change directory into RapidRepoPull
cd RapidRepoPull
- The script volition run inward a minimal Alpine Docker container (126 MB) too extract the dirs inward the electrical current working dir
docker-compose upward --build
Usage Option ii Local Install
- Clone code repo
git clone https://github.com/tbalz2319/RapidRepoPull.git
- Change directory into RapidRepoPull
cd RapidRepoPull
- Execute the script below
./install.sh
Usage Option iii Manual
- Clone code repo
git clone https://github.com/tbalz2319/RapidRepoPull.git
- Change directory into RapidRepoPull
cd RapidRepoPull
- Create a virtual Python3 surroundings to run this code
python3 -m venv venv
- Activate the virual enivornment
source venv/bin/activate
- Install requirements
pip install -r requirements.txt
- Run program
python3 rapid.py
Update Program
- Run the next script
./update.sh
Mass Update all existing repos
- Run the ascendance to keep all existing repos past times attempting to trace latest version
./update_repos.sh