Clarify "Co-authored-by" usage in PRs
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- github
- Área
- documentation
Línea de trabajo
Lee el cuarto párrafo de la sección «Handling Others' Code» de la devguide y revisa el tema enlazado de Discourse para obtener contexto. Aclara cuándo debe usarse la línea Co-authored-by: de GitHub para contribuciones significativas mediante revisiones o cambios sugeridos, incluido cómo se relaciona con squash, automerge y los cambios sugeridos directamente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
As brought up in a Discourse committers topic, the devguide could be more clear about Pull Request attribution on GitHub.
Specifically, in the fourth paragraph of "Handling Others' Code", the Co-authored-by: feature of GitHub is mentioned, but the use case of it is not defined.
Since GitHub will automatically attribute the primary author of the PR when using "squash and merge" or the "automerge", the Co-authored-by: is useful to add just prior to merging for anyone that significantly contributed to the PR, either via review or direct suggested changes. When using the GitHub UI to directly commit a suggested change to the PR, a Co-authored-by: line is automatically added to the commit message. Otherwise though, it has to be done manually for people other than the author to be attributed for contributing to the PR.
With this being a rather substantial part of the workflow for GitHub PRs, it seems to be worthwhile to mention when Co-authored-by: should be used rather than mentioning the feature without elaborating further.
- Lenguaje dominante
- Python
- Estrellas
- 2.1k
- Forks
- 1k
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 12
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de python/devguide
-
type-feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
type-feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
topic-building python type-feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
needs: decision topic-test type-bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
topic-dev process type-feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Todos los issues de python/devguide
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
zostera/django-bootstrap4#894 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
use-agent-os/agent-os#3276 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
NousResearch/hermes-agent#117848 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
zilliztech/memsearch#759 ·