Github Issues Watcher
Github issues watcher is a simple and useful gem that help you to constantly monitor your issues for both public and private repos.
It is a fork of the excellent githubwatcher
It uses foreverb to demonize the process.
Prerequisites
You need to have growlnotify installed. To do that you can install it through official site or if you have the awesome brew simply with:
$ brew install growlnotify
Installation
You may need to manually stop the process and run githubissueswatcher start
if you encounter errors.
$ sudo gem install githubissueswatcher
$ githubissueswatcher start
$ githubissueswatcher config
$ githubissueswatcher repos
$ githubissueswatcher stop
Configuration
You need to enter in your username and password for Github in ~/.githubissueswatcher/config.yaml
It's in plaintext so make sure this folder is secure.
You need to tell to our program which repositories you want to watch, to do that simply edit ~/.githubissueswatcher/repos.yaml
with your favorite editor.
Should look like this (if you have ran githubissueswatcher start
)
We provide a config
command to easily edit it.
$ githubissueswatcher config
It will open in texmate or vim this:
---
- daddye/foreverb/mentioned-assigned
- padrino/padrino-framework/all
The correct format is username/repo/filters where filters are separated by a '-' Filters include mentioned,assigned,created and all. Note: Issues where you are mentioned will be sticky So if for example you want to watch issues in sinatra where you are mentioned or assigned, the result should look like:
---
- daddye/foreverb/mentioned-assigned
- padrino/padrino-framework/all
- sinatra/sinatra/mentioned-assigned
If you want to watch all issues of a repository of a given user you simply provide /all so will look like:
---
- daddye/foreverb/mentioned-assigned
- padrino/padrino-framework/all
- sinatra/sinatra/all
Restart the deamon
$ githubissueswatcher restart
Working with Ruby Forever
$ foreverb list
PID RSS CPU CMD
12494 27132 0.2 Forever: /usr/bin/githubissueswatcher
$ foreverb stop github
Do you want really stop Forever: /usr/bin/githubissueswatcher with pid 12494? y
Killing process Forever: /usr/bin/githubissueswatcher with pid 12494...
Your are done!
Hacks
In some env you use sudo gem install
, so in this case the first time you launch the app use sudo
,
in this way will be generated the Gemfile.lock
, in future you will be able to run it without sudo
.
Author
Peter Gabbay (Artcentric)
Original Github Issues:
DAddYE, you can follow me on twitter @daddye