create merge requests on gitlab, based on changes already done


License
MIT
Install
pip install gitme==0.3.1

Documentation

gitme

Build Status codecov PyPI PyPI - Downloads PyPI - License PyPI - Format PyPI - Wheel

Can be used to create a merge request on gitlab for a changed repostory.

Desired Workflow:

  1. periodically run some tasks in a git repository that may change some files
  2. run gitme
  3. a merge request is created, if files have changed

Features

  • creates branch
  • creates merge request
  • automerge
  • updates existing branch, that is not merged yet

options

usage: gitme [-h] [-u url] [-t pat] [-a] [-g gitrepo] [-b branch] [-V]
             [-l LOGLEVEL] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -u url, --url url     url of gitlab server, defaults to http://localhost
  -t pat, --pat pat     personal access token
  -a, --automerge       automerge merge requests if pipeline succeeds
  -g gitrepo, --gitrepo gitrepo
                        repository location
  -b branch, --branch branch
                        branch name, default: gitme/update
  -V, --version         print version
  -l LOGLEVEL, --loglevel LOGLEVEL
                        loglevel: critical, error, warning, info, debug
  -v, --verbose