cloudposse / cloudposse/github-commenter

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

未关闭
#14 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
112
派生
17
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
github, go
领域
api, cli, devtools
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。