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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git-repo-master-0.1.3.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for git_repo_master-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e4e9fedefe52e8ebcfd68d0368614f0c2c9915455bfeda1073d814cc26d7829 |
|
MD5 | 697c3591213c38c8df36dd59cf8c053a |
|
BLAKE2b-256 | 844b2f8db665c7f88cb6a5fb565081116b3eecb8ea46b75d4938eebb8ff53565 |