unified command line interface for posting code reviews and merge requests
Project description
This package provides a command line interface for posting code reviews and merge requests
The post-review package works on Python versions:
2.7.x and greater
3.3.x and greater
The post-review package works with these services:
GitHub Hosted
GitLab Hosted
GitLab CE, EES, EEP
Installation
The easiest way to install post-review is to use pip:
$ pip install post-review
If you already have post-review installed and want to upgrade to the latest version:
$ pip install --upgrade post-review
Getting Started
post-review is able to determine your git service automatically. There is a one-time setup that is required to fetch your git service API keys – but post-review will instruct you at this step.
The quickest way to get started is to just run the post-review command:
$ post-review --target <target_branch>
Assuming you are using GitLab Hosted, this is what you will see for your one time setup:
$ post-review --target <target_branch> (One Time Setup) Please create a Personal Access Token https://gitlab.com/profile/personal_access_tokens Scope: API, Expires: Never Please enter your Personal Access Token: <paste_your_token_here>
The above requires you to navigate to the GitLab link to create an access token. You will need to use the API scope and make sure that it does not expire – or can rotate too. This allows grants permission for post-review to create a merge request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for post_review-1.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c636d8c4e408d5d84387391e9c716a223104cf9ceac8b07e4571e3b84634c81 |
|
MD5 | c6e6c74417392aa7ce8c3c7103a6cad5 |
|
BLAKE2b-256 | 767f67424daf88dc7e1e3a3d94939031c118c60668dba26be0d209479d5f8a78 |