Git Product home page Git Product logo

pr-watcher's Introduction

Introduction

This tool is meant to watch open pull requests in Github repositories. The requests will be split into your own PRs and other users' PRs. If someone else's pull request needs reviewing, it will be marked accordingly. After the user makes the appropriate changes to their pull request, it will also be marked so you can then approve their changes and they can merge their PR. If your pull request has changes requested on it, it will be marked in a different list. The page will also automatically refresh every minute, while the backend will pull the latest repository data every five minutes. High priority pull requests will be shown in red and cause the favicon to change, alerting you that a pull request needs your attention. Note that only the top 100 repos and 100 pull requests will be displayed.

Installation

If you want to install this on a server you need to first create a Github OAuth App, following the steps here. The callback URL should be your server URL with /callback as the path. Next, you need to specify the following environment variables:

  • CLIENT_ID (required) - Get this from your OAuth application setup in Github.
  • CLIENT_SECRET (required) - Get this from your OAuth application setup in Github.
  • BASE_URL (required) - This is the URL of where the app will live without a trailing slash.
  • PORT (optional) - If you want to specify a different port, you can. Otherwise this will default to port 8080.

If you are installing on Heroku, be sure to use the heroku/nodejs buildpack.

Screenshots

The following image shows the status of other users' pull requests in a particular repository and categorizes them by priority and whether or not you are reviewing that pull request.

image

This image shows the status of your own pull requests in a particular repository and categorizes them by priority and whether or not the pull request is in review.

image

TODO

  • Add unit tests

  • Refactor the server.js functions into a seperate file and class

  • Add more information about each Pull Request to the lists

  • Add a tab for stale branches with no Pull Requests with no commits in over 3 months

  • Add a tab for statistics about how long each Pull Request is open

pr-watcher's People

Contributors

drab7792 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

terfvec0coehe

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.