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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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