github-tools / github-tools/github
Add support for listing Review Comments on a Pull Request
- Ngôn ngữ chính
- JavaScript
- Star
- 3.8k
- Fork
- 809
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Currently it's only possible with this library to list comments on an issue, but those are not the same as "Review Comments" on a PR.
See Github's documentation on [Review Comments](https://developer.github.com/v3/pulls/comments/) vs [Comments](https://developer.github.com/v3/issues/comments/):
> Pull Request Review Comments are comments on a portion of the unified diff. These are separate from Commit Comments (which are applied directly to a commit, outside of the Pull Request view), and Issue Comments (which do not reference a portion of the unified diff).
In order to list review comments on a Pull Request, you need to make a call to
`GET /repos/:owner/:repo/pulls/:number/comments`
versus the call for regular issue comments which is
`GET /repos/:owner/:repo/issues/:number/comments`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by locating the library entry point that lists issue comments and compare its request to GET /repos/:owner/:repo/pulls/:number/comments. Add the corresponding way to list pull-request review comments, then verify that it uses the review-comments endpoint rather than the issue-comments endpoint.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- api
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 35/100