Investigate plugin library behavior when versions are mismatched

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

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
kotlin
Bereich
build-system

Rechercherichtung

Start by tracing how version-resolution selects the plugin library version from DevKitTarget.version at compile time and from the runtime compiler version at runtime. Check whether those paths can select mismatched plugin library versions and how dependency versions are then resolved. The issue is done when the mismatch behavior is confirmed and corrected, with compile-time and runtime plugin versions aligned.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

version-resolution is used to figure out what version of a plugin library to use for a certain DevKitTarget (using its version). However, at runtime, version-resolution is instead used on the runtime compiler's version. This is intentional: the idea is that someone using compiler-plugin-runtime can inherit its support for intermediate versions that they don't intentionally testAgainst; it might mean, though, that compile-time and runtime versions of a plugin library are mismatched.

This needs to be investigated and corrected somehow if that's the case. It might be easiest to only use the runtime compiler version to work out the plugin version, then use the plugin version to work out dependencies' version, thus matching compile-time

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.