cloudposse / cloudposse/github-commenter

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

Abierto
#14 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
112
Forks
17
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github, go
Área
api, cli, devtools
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.