gitkup is a little python script to quickly backup all private repositories from a gitlab server [api v4 - gitlab9.0+].
Need ssh key loaded on agent to work.
Work on gitlab.com by default, but on selfhosted/onpremises server too. [ssl needed]
Install dependencies using Pipenv and copy config.ini to config.local.ini and customize as needed.
REMEMBER! Create token on gitlab to access read repositories info.
$ pipenv --three installFor a bit of info
$ pipenv run python gitkup.py --help$ pipenv run python gitkup.py
$ pipenv run python gitkup.py --dest ./my_treasure
$ pipenv run python gitkup.py --mail trueInstall dev dipendencies to avoid useless issues.
$ pipenv --three install -dTo launch tests
$ pipenv run pytest -vor use pipenv shortcut
$ pipenv run testsissue&&PR || GTFO
have fun!
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details