Generate OSGi infos in the manifest
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- build-system
Direzione di ricerca
Inizia esaminando il lavoro di preparazione in cucumber-parent PR 61 e l'elenco dei repository non verificato, in particolare cucumber-jvm e gherkin-utils. Il lavoro è completato quando i manifesti JAR prodotti contengono i metadati OSGi previsti senza richiedere ai consumer di ripacchettarli.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
🤔 What's the problem you're trying to solve?
I use this in an Eclipse plugin and currently need to repack the original cucumber jars into an OSGi bundle, but adding the info at the source has much benefits:
- Additional metadata in the manifest is ignored by other tools
- At build time there is the most rich information about used packages and versions so better metadata can be generated
- Using the original jar ensures it can later be identified as such e.g. with a security scanner
- No risk that different people repack the same jar under the same name with different settings
- only do the work once than on each build / consumer
✨ What's your proposed solution?
Embed OSGi metadata into the manifest of the produced jar file at the first place using a lightweight approach that enhances the usual manifest with OSGi metadata.
⛏ Have you considered any alternatives or workarounds?
Currently the metadata is added after the fact but this has several drawbacks e.g. its easy to get out of sync and there is a risk of the same people doing slightly different things multiple time.
📚 Any additional context?
The preparation work for this was done here:
This needs to be adapted in the following repositories to be fully effective but can be done iteratively, e.g we likely want to start at the root and after the release go on with the next:
- https://github.com/cucumber/messages/ --> https://github.com/cucumber/messages/pull/344
- https://github.com/cucumber/gherkin/ --> https://github.com/cucumber/gherkin/pull/485
- https://github.com/cucumber/cucumber-expressions --> https://github.com/cucumber/cucumber-expressions/pull/372
- https://github.com/cucumber/gherkin-utils/ --> https://github.com/cucumber/gherkin-utils/pull/148
- https://github.com/cucumber/cucumber-jvm
- ...
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 3.4k
- Fork
- 676
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cucumber/common
-
Upgrade to TypeScript 7Forse di nuovo libera @davidjgoss l’ha presa 124 giorni fa e non c’è nessuna pull request aperta. Apertalanguage: javascript
-
Allowing both DocString and DataTable on a single stepForse di nuovo libera @mpkorstanje l’ha presa 129 giorni fa e non c’è nessuna pull request aperta. Aperta
cucumber/common#2315 · 23 commenti · 1 reazione · 1 assegnatario ·
-
Enable static analysisForse di nuovo libera @mpkorstanje l’ha presa 220 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di cucumber/common
Issue simili
-
good first issue priority: low testing
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
dependencies enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug:compat domain:toolchain source:ai-drafted status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
kind: work-order
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
monumental-archive/.github#2162 ·
I maintainer di solito rispondono entro 1 giorno
-
Build fails on macOS 27: dyld refuses stripped Rust proc-macros (mis-aligned LINKEDIT string pool)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
cloudflare/workerd#8963 ·
I maintainer di solito rispondono entro 1 giorno