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.
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.