pull-request-parser

module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2017 License: GPL-3.0

README

pull-request-parser uses the Github API to parse open pull requests and aggregate useful information about them. This includes information like whether the pull request is rebased, how many people have approved it, and the status of any CI builds.

Setup

go get github.com/guywithnose/pull-request-parser/cmd/prp
prp --config ~/prpConfig.json init-config
prp --config ~/prpConfig.json profile add default --token {YOUR_GITHUB_TOKEN}
prp --config ~/prpConfig.json repo add {USER} {REPO_NAME}

Parse

prp --config ~/prpConfig.json parse

Parses pull requests on tracked repositories and outputs to the screen

Auto-Rebase

prp --config ~/prpConfig.json repo set-path {USER}/{REPO_NAME} {PATH_TO_LOCAL_CLONE}
prp --config ~/prpConfig.json auto-rebase

Parses your pull requests on tracked repositories and if they are not rebased it will try to update them. This is especially useful for git workflows that only allow fast-forwards.

Directories

Path Synopsis
cmd
prp

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL