Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Chequea orden en TRANSLATORS#1830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cmaureir merged 2 commits intopython:3.10fromrtobar:chequea-translators
Jul 10, 2022
Merged

Conversation

rtobar
Copy link
Collaborator

Dado que el archivoTRANSLATORS fue ordenado alfabéticamente, sería bueno mantener ese orden en el futuro.

Este PR agrega un paso en el GitHub actions para chequear que el archivo sigue estando ordenado alfabéticamente, y genera un error de no ser así. El chequeo se hace comparando el archivo sin modificar contra la salida de un nuevo scriptscripts/sort.py, el cual lee el archivo, ordena las entradas alfabéticamente, e imprime el resultado. Si el resultado es igual al contenido del archivo entonces el archivo está ya ordenado.

El script es genérico, por lo que puede ser usado en el futuro para otras tareas similares.

El ordenamiento se hace usando el colaje de cadenas de texto del localeactual, y sobre stdin, haciendo la herramienta lo más flexible posible.Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
@rtobarrtobarforce-pushed thechequea-translators branch 2 times, most recently fromeb57138 to3f2372bCompareJuly 10, 2022 15:17
@rtobarrtobar changed the titleChequea orden en TRANSLATORSDraft: Chequea orden en TRANSLATORSJul 10, 2022
Cuando nueva gente se agregue a sí misma a la lista de autores enTRANSLATORS, este nuevo paso en GitHub actions corroborará que elarchivo TRANSLATORS sigue estando ordenado alfabéticamente, y generaráun error de no ser éste el caso.Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
@rtobarrtobar changed the titleDraft: Chequea orden en TRANSLATORSChequea orden en TRANSLATORSJul 10, 2022
@cmaureir
Copy link
Collaborator

Super buena idea :D gracias 🎉

@cmaureircmaureir merged commit29d216b intopython:3.10Jul 10, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@cmaureircmaureircmaureir approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@rtobar@cmaureir

[8]ページ先頭

©2009-2025 Movatter.jp