gitkup

fast backup from gitlab server [api v4]

BSD-3-CLAUSE License

Stars
2
Committers
2

gitkup

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]

Python3 required.

To the Users

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 install

For a bit of info

$ pipenv run python gitkup.py --help

Example

$ pipenv run python gitkup.py
$ pipenv run python gitkup.py --dest ./my_treasure
$ pipenv run python gitkup.py --mail true

To Contributors

Install dev dipendencies to avoid useless issues.

$ pipenv --three install -d

To launch tests

$ pipenv run pytest -v

or use pipenv shortcut

$ pipenv run tests

issue&&PR || GTFO

have fun!

License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details

Badges
Extracted from project README
Maintainability Test Coverage
Related Projects