-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Support for "reviewers" as well as "assignees"? #82
Comments
So I thought "lets quickly tackle this", expecting to be able to pretty much copy-paste the assignee implementation. It seems I was wrong. "Reviewers" appear to be more complex and less intuitive than assignees, and also not sufficiently documented. I'll need to reverse engineer this. Could you please point me to a few fairly active but preferably small repositories making extensive use of review requests? |
@tarsius Do you mean via Github's API? The following GQL query works for me: repository(owner: "magit", name: "forge") {
pullRequests(first:5) {
nodes {
reviewRequests(first:5) {
nodes {
requestedReviewer {
...on User {
name
}
}
}
}
}
}
} |
No I mean a repository that actually uses review requests so that I can test whether the code that I have written actually works. (And yes, I have figured out too that I have to use inline fragments (and implement support for that in |
Question that I have are:
|
Here is a few modestly-sized public repos that uses review requests:
(I've no affiliation -- though I have contributed to at least one.) |
I have added basic support for review requests. Only Github is supported because Gitlab doesn't have that feature. You can request a review, see who was asked to perform a review while looking at it in a dedicated buffer, and revoke a request. Basically you can do what you can do when assigning an issue except that the feature is called "review requests" instead of "assignees". In other words what has been requested here. There is no support for actually performing a review (~ #75) or listing prs you have been asked to review (~ #79). At least the latter I plan to tackle soonish. |
Could we please have support for setting "reviewers" as well as assignees? The company I work for do not use assignees at all (it's implicit that the PR creator owns it, and is thus assigned) but we use reviewers extensively to request reviews from specific people.
The text was updated successfully, but these errors were encountered: