Find pull request from given commit hash and open it in a Web browser.
Python Emacs Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
openpr
.gitignore
.travis.yml
LICENSE
README.md
openpr.el
setup.cfg
setup.py
test_openpr.py

README.md

openpr

Build Status

Find pull request from given commit hash and open it in a Web browser.

Description

Software development process sometimes stores useful information in the pull request in which commits were reviewed and merged. On debugging a software, we might be helped by such information in addition to source codes and commit messages stored in the repository.

This utility enable you to open pull request page quickly from the commit hash obtained by git blame.

Requirement

  • local repository (its remote points to GitHub or Bitbucket)
  • Python 2.7 or Python 3
  • git

Installation

pip install openpr

Usage

Run as follows in the working tree

openpr [-h] [-b BRANCH] [-r REMOTE] [-p] revision

License

BSD-2-Clause

Author

yoichi