Skip to content

Add pull requests and commit status endpoints - #2819

Merged
iAmWillShepherd merged 6 commits into
masterfrom
endpoints-more-like-beginpoints
Sep 21, 2017
Merged

iAmWillShepherd merged 6 commits into
masterfrom
endpoints-more-like-beginpoints

Conversation

@joshaber

Copy link
Copy Markdown
Contributor

Fixes #2799

Unfortunately the pulls endpoint doesn't support a since parameter, so we're stuck fetching all the PRs all the time :hurtrealbad:

The issues endpoint contains pull requests, but it only provides the API URL for them, so we'd be stuck doing N requests to actually get the pull request info.

I think this'll have to do for now, until we can join the glorious GraphQL future.

@joshaber joshaber added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Sep 21, 2017
@joshaber

Copy link
Copy Markdown
Contributor Author

This is ready 🙏

I tested it manually since there's no callers yet.

@iAmWillShepherd

Copy link
Copy Markdown
Contributor

Why can't we fetch all open PRs?

@joshaber

Copy link
Copy Markdown
Contributor Author

Yeah, that's what this PR does, sorry that I was unclear.

My point was that we can't fetch just the PRs that have changed since we last checked. We can and do do this for issues.

@iAmWillShepherd
iAmWillShepherd merged commit 6c682d6 into master Sep 21, 2017
@iAmWillShepherd
iAmWillShepherd deleted the endpoints-more-like-beginpoints branch September 21, 2017 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants