/github-pr-reports

Primary LanguageJavaScriptMIT LicenseMIT

Github Pull Request Reports

Overview

This project implements a CLI application that will fetch pull request information from a GitHub repository, for a given time period, and then generate statistical reports per user.

Currently, it generates the following reports:

  • Pull request counts
  • Time to merge
  • Time to review
  • Time to review time bucket distribution

Running

To execute, you will need to obtain a GitHub Api Token first.

TODO: add steps to generate GitHub Api Token

To fetch the latest data from GitHub, run:

$ LIVE=true npm start

To generate the reports based on local data copy, run:

$ npm start

Unit tests

To run the unit tests:

$ npm test

Main technologies and libraries used