Cli application to manage github pull requests
Перейти к файлу
Frederick F. Kautz IV e3048ba690
Merge pull request #179 from fkautz/pr_out_updating_to_latest_version_of_moby_term_which_fixes_go_14_incompatibility_introduced_by_downstream_test_dep
2020-06-10 22:13:12 -07:00
cmd update renamed github locations to current repositories 2020-06-10 19:53:29 -07:00
pkg update renamed github locations to current repositories 2020-06-10 19:53:29 -07:00
.gitignore add .idea to gitignore 2020-06-10 12:37:46 -07:00
AUTHORS Update AUTHORS 2020-06-10 12:28:35 -07:00
Dockerfile My localhost does not have go installed - give me a Dockerfile 2014-05-12 14:07:02 +10:00
LICENSE.md Apply the Docker conventions to facilitate contribution. 2013-11-30 18:10:34 -08:00
MAINTAINERS Update MAINTAINERS 2015-04-24 20:47:09 -07:00
README.md Merge pull request #129 from SvenDowideit/first-use 2014-08-24 12:16:47 -07:00
go.mod updating to latest version of moby/term which fixes go.14 incompatibility introduced by downstream test dep 2020-06-10 22:12:51 -07:00
go.sum updating to latest version of moby/term which fixes go.14 incompatibility introduced by downstream test dep 2020-06-10 22:12:51 -07:00

README.md

Pulls

Pulls is a small cli application name to help you manage pull requests for your repository. It was created by Michael Crosby to improve the productivity of the Docker maintainers.

Gordon assumes that the git origin is the upstream repository where the Issues and Pull Requests are managed. This is not the workflow described in the GitHub fork a repository documentation.

Quick installation instructions:

  • Install Go 1.2+ from http://golang.org/
  • Install with go get -u github.com/docker/gordon/{pulls,issues}
  • Make sure your $PATH includes x/bin where x is each directory in your $GOPATH environment variable.
  • Call pulls --help and issues --help
  • Add your github token with pulls auth <UserName> --add <token>

Dockerfile container build:

If you don't have Go set up and want to try out Gordon, you can use the Dockerfile to build it, and then can either copy the 2 executables to your local Linux host:

  • Build: docker build -t gordon .
  • Copy: `docker run --name gore gordon true && docker cp gore:/go/bin/pulls . && docker cp gore:/go/bin/issues . && docker rm gore``

You could also run from inside the container:

  • Setup an alias: pulls() { docker run --rm -it -v $PWD:/src --workdir /src -e HOME=/src gordon pulls $@; }
  • Set the GitHub API token: pulls auth SvenDowideit --add 1373a7583d30623abcb2b233fe45090fe2e4a3e1a2
  • List open PR's: pulls