Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Installation

Install coffeescript globally, then install all dependencies:

npm install coffee-script -g
npm install

Fetch the data

coffee fetch/index.coffee

This will trigger a very large set of requests, so if you just want to build a little sample data, run:

coffee fetch/index.coffee --sample

Process the data

coffee process/index.coffee

View the data

coffee view.coffee

Caveats

  • This project was designed as an experiment, not a product or polished tool, so gets pretty gross in some places. Hold your nose and keep going.
  • The GitHub API request limit is 5000, and Checkoning doesn't do anything special to get around this limit. If you hit 5000 requests while running the fetch script, it just won't work. If you find this happening, you may want to adjust the fetch scripts to remove pagination, or trim the number of repos/PRs you examine.
  • By default, checkoning only looks at private repos.
  • Checkoning was written and tuned for Viget's FED and dev teams, meaning that it might not look great with smaller or larger teams. Tweak the values in output/js/visualizations manually to get better results.

Configuration

When you run the fetch command, you'll be prompted to enter your GitHub username, your password, your organization name, and your team ID (an integer).

If you get tired of doing this repeatedly, you can make a .config.json file in the following format:

{
	"username": "my_username",
	"password": "password123",
	"organization": "companyname",
	"team": 12345
}

Then, run the script with the --config flag.

coffee fetch/index.coffee --config

One way to find your team ID is visit your team's GitHub page in the browser and enter $('.js-team-id').data('id') in the console.


Code At Viget

Visit code.viget.com to see more projects from Viget.

About

Visualizating team PR interactions

Resources

Releases

No releases published
You can’t perform that action at this time.