github-dice

command module
v0.0.0-...-78a246a Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2017 License: MIT Imports: 13 Imported by: 0

README

github-dice

Build Status

A useful tool for assigning someone to GitHub Issues/Pull Requests, like a rolling dice.

$ ./github-dice -d
2016/06/23 19:49:45 Candidates are [s-tajima chocopie116 dkkoma]
2016/06/23 19:49:46 #9999 https://github.com/s-tajima/github-dice/issues/9999 issue's title => author:s-tajima assigned:chocopie116

Index

Concepts

  • To review codes wrote by other members of your team is good for your product and your skills.
  • But frequently, code reviewer would tend to biased to some of the team members.
  • For improving all of your team members skills, let's elect code reviewers by roll a dice.

Requirements

github-dice requires the following to run:

  • Golang

Installation

$ go get github.com/s-tajima/github-dice

Configure

Set your configuration as Environment Variables.

export GITHUB_ACCESS_TOKEN=
export GITHUB_ORGANIZATION=
export GITHUB_REPO=
export GITHUB_TEAM= # github-dice works only Issues/Pull Requests that be created by this team members.

You can use .env file as well.

Usage

Usage:
  github-dice [OPTIONS]

Application Options:
  -q, --query         Query strings. For search Issues/Pull Requests. (default: "type:pr is:open")
  -c, --comment       Comment. Would be posted before assigned. (default: ":game_die:")
  -n, --dry-run       If true, show candidates and list Issues, without assign.
  -f, --force         If true, reassign even if already assigned.
  -o, --run-once      If true, assign assign only one Issue.
  -a, --assign-author If true, Issue's author also assigns.
  -l, --limit         A maximum number of assign Issues. (default: 0)
  -e, --exempt-users  User names separated by comma who exempt assignee.
  -d, --debug

Help Options:
  -h, --help      Show this help message

License

MIT

Author

Satoshi Tajima

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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