Hacker News new | ask | show | jobs
by hk__2 2961 days ago
Why do you use labels and comments instead of GitHub’s Statuses API [1]?

[1]: https://developer.github.com/v3/repos/statuses/#create-a-sta...

3 comments

I’m not involved in this project, but I would guess that it’s because it validates both issues and PRs, but only PRs have statuses on GitHub, More precisely, only commits have statuses, and issues aren’t associated with commits.
This is exactly correct. I haven't finished the pull request feature yet, what you're seeing on the repo is just issues. I will be taking requests for any desired features
> Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use.
“avatar_url” is the only part of that endpoint in preview, so that warning only applies to that field. I can see how the notification isn’t clear on that point, and I will bring that up.
I see. Thanks for the clarification!
Hey there. I'm still coding this, but when I finish pull requests, it will have status checks. Comments are for issues