项目作者: gionniboy

项目描述 :
fast backup from gitlab server [api v4]
高级语言: Python
项目地址: git://github.com/gionniboy/gitkup.git
创建时间: 2018-04-24T00:51:42Z
项目社区:https://github.com/gionniboy/gitkup

开源协议:BSD 3-Clause "New" or "Revised" License

下载


Build Status

Maintainability
Test Coverage

Updates
Python 3

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.

  1. $ pipenv --three install

For a bit of info

  1. $ pipenv run python gitkup.py --help

Example

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

To Contributors

Install dev dipendencies to avoid useless issues.

  1. $ pipenv --three install -d

To launch tests

  1. $ pipenv run pytest -v

or use pipenv shortcut

  1. $ 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