Oye

A continuous monitoring tool that does a few things:

1. listens for changes in bare git repos
2. updates cloned repos when the corresponding bare repo changes
3. restarts the rails app with the new code

[ ] use multithreaading. each thread should watch a unique repo. [ ] run rails tests inside Oye.monitor [ ] check for irregularities in @repos, e.g two repeated cloned repos [ ] give warning if port is not open by using port_open? method [ ] why is the trap with FileUtils.rm_f(oye_pidfile) not removing the PID file [ ] make a website for 'oye' where you provide better documentation. e.g.

  • how to set up oye.yml [ ] create a git brach called 'oye' and pull from that one instead of 'origin'. [ ] suport remote branches via 'ssh'. e.g. you can use Net::SSH as i use in '~/.ruby/req' [ ] support 'jekyll serve' for people that dont want to use a web server for jekyll [ ] split the file. use Oye::Actions as a namespace for update, restart, start, stop methods