https://github.com/docker-archive-public/docker.gordon
Cli application to manage github pull requests
https://github.com/docker-archive-public/docker.gordon
Last synced: 3 months ago
JSON representation
Cli application to manage github pull requests
- Host: GitHub
- URL: https://github.com/docker-archive-public/docker.gordon
- Owner: docker
- License: mit
- Archived: true
- Created: 2013-10-30T22:10:05.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T05:13:14.000Z (over 5 years ago)
- Last Synced: 2024-09-29T10:22:44.198Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 1.23 MB
- Stars: 176
- Watchers: 23
- Forks: 33
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## 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](https://docker.io) 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](https://help.github.com/articles/fork-a-repo)
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 --add `
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`