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

Command line tool for automatic GitLab PR creation.

Project description

PR Man!


> prman -m "This PR is created with prman!"
The repository name: simulation
The project id: oilrig/simulation
The current branch: f/OIL-123-add-tests
The PR name: OIL 123: add tests
Fetching the project...
Fetching PR's...
Fetching approvers...
Select approvers:
1. jfisher (Jared Fisher)
2. choiii (Peyton Choi)
3. ldavid (Lemar David)
> fisher;choi
Pushing to the origin...
Creating the PR...
The PR is created:


Creating a PR in GitLab UI takes so much time. You need to click a button, select options like 'Squash', 'Remove source branch when merged'. You need to select minimal approvers count. You need to select approvers. You should set approvers as assignee to give them email about your PR.

It is a pure nightmare. Just run prman in your repo directory. Type approvers like fisher;choi. It pushes your branch to the origin automatically. A Pull Request is done!

How to install it?

  • Install pipx. It is like a pip+venv for CLI apps. python3 -m pip install --user pipx.
  • pipx install prman.
  • Go to GitLab Access Tokens UI.
  • Name: prman; Scopes: api; Create personal access token.
  • prman config set gitlab.token YOUR_TOKEN (a config is stored in ~/.prman/config.json).

How to select approvers?

  • You can type a substring of an item by a query like fisher.
  • You can type multiple items separated by ; like in a query fisher;choi.
  • You can select item by index with a query like 3.
  • You can select an index range with a query like 3..5.
  • Parts of a query can intersects like 2;1..3;fisher.

Project details

Download files

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

Files for prman, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size prman-0.1.5-py3-none-any.whl (11.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size prman-0.1.5.tar.gz (9.2 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