Need some way of translating the line in a file to the `position` param for a pull request review
還沒有人認領這個 Issue。
評估
研究方向
未指定檔案或測試。首先追蹤 Go CLI 的 pull request review comment 路徑,並檢查目前如何提供 GitHub 的 position 參數;要視為完成,需要決定用於轉換檔案行的介面,以及一種已示範如何從所要求 workflow 中使用該介面的方法。
由索引模型根據 Issue 內容生成。
描述
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?
- 主要語言
- Go
- 星號
- 112
- 分支
- 17
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
cloudposse/github-commenter 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 20/100
cloudposse/github-commenter#137 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 45/100
cloudposse/github-commenter#96 · 3 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 25/100
-
難度 5/5 一週以上 新手友好度 25/100
cloudposse/github-commenter#45 · 1 則留言 ·
-
Build amd64 version for Linux可能重新可做 @aknysh 於 1690 天前認領,目前沒有進行中的 PR。 未關閉
cloudposse/github-commenter#36 · 2 則留言 · 已指派 1 人 ·
查看 cloudposse/github-commenter 的全部 Issue
相似的 Issue
-
agent-research-recommend agent-review-finding chore
難度 2/5 1-3 小時 新手友好度 78/100
jordansmall/spindrift#4821 · 1 則留言 ·
維護者通常 1 天內回覆
-
area:web
難度 2/5 1-3 小時 新手友好度 82/100
praetorianer777/GoTome#178 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
oracle/go-oracledb#105 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆