Python-script to update Git Repository Mirrors, based on a JSON-formatted settings-file
Clone this repository to a location of your choosing. Next, create a settings.json
file (you can use the settings.json.example
as a template) and change the source and destination of the two existing examples, adding or removing repository-entries as needed.
Change the workingDirectory
to an existing location, that you want to use as the base-directory for the synchronisations.
Run the script:
python3 repository-syncer.py
The script will read the list of repositories from settings.json
which should exist in the same directory as the script.