Skip to content

mgmerino/review-requests-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Review requests counter for bitbar

This is a simple bitbar plugin, inspired by this one which is written in python.

This has been rewritten in Ruby and enhanced with some more superfluous data about the PR's and loaded of emojis for no particular reason 🤖.

It uses Faraday as a http client to send a graphql query into github endpoint to retrieve the collection of PR reviews assigned to you.

Dependencies

This plugin needs the following gems installed under your default system path/owner when running ruby scripts.

  • faraday
  • json
  • yaml

Installation

Clone the repo somewhere in your path. Create a yml file containig the following keys:

github_handler: your_github_handler
github_org: your_organization
github_token: your-github-api-token # generate your own GitHub API token
blacklisted_prs: [123, 187] # optional blacklisted PR's

Generate your personal access token: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line

Save it under lib folder.

Then make a symlink into your bitbar plugins folder (i.e: ~/bitbar-plugins).

ln -s review-requests-plugin/review-requests.10m.rb ~/bitbar-plugins/

Contribute

Feel free to ask for features or contribute if you miss something!

About

Github Review requests counter plugin for bitbar

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages