-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Statuses endpoints #268
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks solid!
createStatus :: Auth -> Name Owner -> Name Repo -> Name Commit -> NewStatus -> IO (Either Error Status) | ||
createStatus auth owner repo sha ns = | ||
executeRequest auth $ createStatusR owner repo sha ns | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you add links to the relevant parts of github docs here as haddocks, and to Github.hs
module explicitly, so we get a nice overview of api: http://hackage.haskell.org/package/github-0.15.0/docs/GitHub.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @jamesdabbs
While James has seemingly abandoned this, could we still get it merged? I just wasted an evening rewriting this exact PR |
Apologies - I missed those earlier notifications. I’ll add that documentation shortly. |
Okay, rebased and updated the docs. Let me know if I missed anything @phadej. Thanks! |
See https://developer.github.com/v3/repos/statuses
I'm working on writing a CI-style service which receives a webhook and posts statuses back. I'm mostly interested in create status, but did a quick smoketest of the other ones and they seemed to work fine.
What's preferred in terms of tests, examples, documentation? I'm happy to write any of those, but would appreciate a reference.
#259 (and #256)