Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 2.18 KB

README.md

File metadata and controls

44 lines (27 loc) · 2.18 KB

python-repository-syncer

Python-script to update Git Repository Mirrors, based on a JSON-formatted settings-file

Installation

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.

Usage

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.