gophergala2016/reviewer

Name: reviewer

Owner: gophergala2016

Description: Reviewer is a CR validator and merger for projects on GitHub

Created: 2016-01-22 19:23:46.0

Updated: 2018-05-20 14:52:52.0

Pushed: 2016-01-25 00:46:58.0

Homepage:

Size: 88

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

reviewer Build Status ReportCard

Reviewer is a tool for running easy code reviews in GitHub.

Installation
go install github.com/gophergala2016/reviewer
Configuration

For using Reviewer, you will need to get a GitHub API token. Reviewer uses a configuration file, by default located at $HOME/.reviewer.yaml. If you want to set this file to other location, name, or accepted format, you can use the option --config with an argument specifying the filename. Accepted formats for the configuration file are:

An example YAML file would have this format:

authorization:
   token: MYNICEANDSHINYGITHUBAPITOKEN
repositories:
   mycoolapp:
       username: cooldeveloper
       status: true
       required: 3
       allowed:
        - reviewer1
        - reviewer2
        - reviewern
   myevencoolapi:
       username: cooldeveloper
       status: true
       required: 2
       allowed:
        - reviewer1
        - reviewern

where:

You can get Reviewer's configuration by invoking the command configure:

  $ reviewer configure
  Using config file: /home/user/.reviewer.yaml
  - cooldeveloper / mycoolapp ENABLED +1:3
  - cooldeveloper / myevencoolapi ENABLED +1:2
Usage

You can use Reviewer basic functionality by simply invoking it directly:

  $ reviewer
  Using config file: /home/user/.reviewer.yaml
  + cooldeveloper/mycoolapp
  + cooldeveloper/mycoolapi
    - 47 NOP   (Changes CI badge location on README.md) score 1 of 3 required

Where it first reports the configuration file used, if any. Then, it prints a list of the repos, with a list of the PRs pending to merge. For each PR, it shows:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.