зеркало из https://github.com/golang/build.git
Previously, maintner would track only the Events on an Issue/PullRequest, which missed out on the discussions and approvals that the review process generates. This adds a new struct GitHubReviewEvent to represent the results from the GitHub "pulls/reviews" API. This struct follows the same pattern as the GitHubIssueEvent struct. To accomplish this, a new call has been added to the sync() function: syncReviews, which follows the pattern established with syncEvents(). Finally, this adds an additonal method: ForeachReview which iterates over the GitHubReviewEvents in the given GitHubIssue serially and in chronological order. GitHub API Reference: https://developer.github.com/v3/pulls/reviews/ Updates golang/go#21086 Change-Id: I4f59e154a4e4a8a4b8f2676dea932cf44354c288 Reviewed-on: https://go-review.googlesource.com/c/144699 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
README.md | ||
maintner.pb.go | ||
maintner.proto | ||
maintpb.go |