Code Monkey home page Code Monkey logo

reviewlette's Introduction

Reviewlette

Coverage Status Code Climate

Tool to automatically assign a "Reviewer" to a GitHub Issue and to the attached Trello Card.

What it does:

  • Finds unassigned issues on GitHub.
  • Assignes a member of your team.
  • Locates the right Card on Trello.
  • Checks if the assignee is on vacation(using tel).
  • Adds the assigned member to the Card.
  • If the Issue/PullRequest is closed or merged move it in the right column.
  • Prints graphs using Morris.js to display statistics(autorefresh every 5 seconds).

alt tag

Installation

git clone [email protected]:jschmid1/reviewlette.git
cd reviewlette
bundle
cd bin
./reviewlette

or

gem install reviewlette

Setup

Name your pullrequest like so:

Review_#23_name_of_review_42 <= trello card number

Fill config/.trello.yml with your consumerkey, consumersecret, oauthtoken and board_id

-comsumerkey: theconsumerkey11
-consumersecret: theconsumersecret11
-oauthtoken: theoauthtoken11

Which can be generated here

Fill config/.github.yml with your token and repo

-token: thetokenfromgithub
-repo: ['my/repo', 'my/otherrepo']

Which can be generated here

Edit the reviewlette.db scaffold in the main directory to your needs.

Structure:

primary_key first_name last_name Reviews_count created_at github_name trello_name vacation_status tel_name
Integer(PK) Text Text Integer Text Text Text Numeric Text
1 Joshua Schmid 30 2014-01-01 jschmid1 jschmid1 false jschmid

You can either use a GUI like Sqlite database browser or the sqlite commandline interface

e.g.

insert into reviewer values('John','Smith', '0', '', 'github_name', 'trello_name', 'false', 'tel_name');

Using Octokit as a GitHub api wrapper

Using Sequel as Database Module

Using ruby-trello as a Trello api wrapper

reviewlette's People

Contributors

jschmid1 avatar kalabiyau avatar

Watchers

Kirill Pimenov avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.