pretenders / ployst

The ployst core repo
1 stars 0 forks source link

Generalise hook handling, in preparation to handle PRs #102

Closed txels closed 9 years ago

txels commented 9 years ago

Part of task https://txels.tpondemand.com/entity/365

This is an initial refactor to generalise how we handle github hooks. I'd like to actually extract the module hooker.py into a separate installable library e.g. "github-hooker".

I haven't written specific unit tests for the new module, but all existing tests pass, and the github_poke command works. If we decide to pull this out as a library, I'll move/rewrite tests accordingly.

alexcouper commented 9 years ago

This is very tidy indeed.

Merging