Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Small package to automate actions with git repo on Azure DevOps

Project description

git-repo-master

Simple application to manage your Azure DevOps git repository

Installation

git clone https://github.com/mustafmst/git-repo-master.git
python git-repo-master/setup.py install

Usage

$ grm -h

usage: __main__.py [-h] [-organization ORGANIZATION] [-project PROJECT]
                   [-repository REPOSITORY [REPOSITORY ...]] [-token TOKEN]
                   [-action {lock-branch,unlock-branch,create-pull-request}]
                   [-branch BRANCH] [-source SOURCE] [-target TARGET]
                   [-title TITLE] [-description DESCRIPTION]

optional arguments:
  -h, --help            show this help message and exit

All arguments:
  -organization ORGANIZATION
                        Azure DevOps organization
  -project PROJECT      Azure DevOps project in given organization
  -repository REPOSITORY [REPOSITORY ...]
                        Repo for action
  -token TOKEN          Personal access token for Azure DevOps
  -action {lock-branch,unlock-branch,create-pull-request}
                        Action to perform

Branch lock and unlock actions arguments:
  -branch BRANCH        Branch to perform action on

Create pull request action arguments:
  -source SOURCE        Branch name from which action has to be done
  -target TARGET        Branch name to which action has to be done
  -title TITLE          Pull request title
  -description DESCRIPTION
                        Pull request description

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for git-repo-master, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size git_repo_master-0.1.3-py3-none-any.whl (7.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size git-repo-master-0.1.3.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page