Investigate plugin library behavior when versions are mismatched

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin
Ambito
build-system

Direzione di ricerca

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.

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

Descrizione

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

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.