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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file git-repo-master-0.1.3.tar.gz.
File metadata
- Download URL: git-repo-master-0.1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4ff2c31d52cf650e99f6b90581bae924f2d0493c030a79c760e774a27fa9cfe
|
|
| MD5 |
c3314b8deed41cae3f564da550bfe0d6
|
|
| BLAKE2b-256 |
82cc910ad932b7da96993b8c2f17816bf70732d030d3768eb1c57517a933aab7
|
File details
Details for the file git_repo_master-0.1.3-py3-none-any.whl.
File metadata
- Download URL: git_repo_master-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e4e9fedefe52e8ebcfd68d0368614f0c2c9915455bfeda1073d814cc26d7829
|
|
| MD5 |
697c3591213c38c8df36dd59cf8c053a
|
|
| BLAKE2b-256 |
844b2f8db665c7f88cb6a5fb565081116b3eecb8ea46b75d4938eebb8ff53565
|