Automate updating generated resources

Offen
#112 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, kotlin
Bereich
build-system, ci-cd

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Kotlin
Sterne
34
Forks
1
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Kotlin/compiler-plugin-dev-kit

Alle Issues in Kotlin/compiler-plugin-dev-kit

Ähnliche Issues

Weitere Issues zu Kotlin

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.