Automate updating generated resources

Aperta
#112 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, kotlin

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
Kotlin
Stelle
34
Fork
1
Merge medio
1g 9h
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Kotlin/compiler-plugin-dev-kit

Tutte le issue di Kotlin/compiler-plugin-dev-kit

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.