Automate updating generated resources

Abierto
#112 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, kotlin

Línea de trabajo

Start with the unified update script and the generated-file descriptions in docs/spec.md#data-files. Trace how it invokes each update script, then inspect the kotlin-modules updater and the repository’s existing GitHub workflows. Done means all update scripts run despite individual failures, a workflow commits generated changes, and it fails safely when kotlin-modules gains entries.

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

Descripción

We have multiple auto-generated files as described in the spec. Currently, there's a unified script that updates them, but it fails on the first change it finds. I have it set up locally as a pre-push hook.

The script should run all the update scripts regardless of failure (and fail at the end if any failed).
We should set up a GH workflow that automatically calls the script, and commits changes if any are found. It should fail if kotlin-modules gains new entries (this is relatively simple to do. The script that updates kotlin modules fails on empty mappings, so simply running the unified update script again will signal whether committing is safe or not).

Lenguaje dominante
Kotlin
Estrellas
34
Forks
1
Merge medio
1 d 9 h
PR fusionados (30 d)
3

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Kotlin/compiler-plugin-dev-kit

Todos los issues de Kotlin/compiler-plugin-dev-kit

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.