github/hubot — Issue #235: Github API helpers
Author: iangreenleaf
Created: 2012-02-01 01:24:58+00:00
State: open

I've been hacking on some Hubot scripts to query the Github API, and am starting to feel like we're repeating ourselves a lot. It'd be nice to have all the common Github logic factored out somewhere.

I'm experimenting with a `hubot-scripts` addition that would add a `github` object to `robot` at runtime as a namespace for helper utils. I've got a proof-of-concept at iangreenleaf/hubot-scripts@d050aa72539ac459069e1bd9a2e7cd9e210155e5.

I wanted to ping you all for feedback early. I've got lots more ideas of where to go with this, but I'm not sure how you'd like to see it done. Does attaching to `robot` like that make me a bad person? Is this something that belongs in `hubot-scripts`, or should it go in this repo? Are you about to release a whole magical adapter so I shouldn't bother?