cloudposse / cloudposse/github-commenter

Need some way of translating the line in a file to the `position` param for a pull request review

Đang mở
#14 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
112
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Most of the code style/static analysis tools that I use work on an entire file, and not just a diff. It would be awesome to be able to run a code style check on whatever file changed, and then use this tool to automatically add a comment to the line in question inline in the PR.

Right now, there's not really a great way translate between a line in a file and the `position` param that Github needs in e.g. a bash script that's calling this utility, so I'm wondering if that might be easier in Go as a helper command or something. If this utility isn't the right place for that translation to happen, do you have any suggestions for other utilities that might handle that translation?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

No files or tests are named. Start by tracing the Go CLI's pull-request review comment path and checking how GitHub's position parameter is currently supplied; done would require a decided interface for translating file lines and a demonstrated way to use it from the requested workflow.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, go
Lĩnh vực
api, cli, devtools
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.