Synchronizing auto-generated files with bindings
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- build-system, tooling
Direzione di ricerca
Inizia confrontando lib/vkFormat2glInternalFormat.inl con interface/java_binding/src/main/java/org/khronos/ktx/KtxInternalformat.java e interface/python_binding/pyktx/gl_internalformat.py. Esamina come interface/java_binding genera VkFormat.java, quindi determina quali file vengono generati e come mantenere sincronizzati tutti i binding. Il lavoro è completato quando l’approccio di generazione o manutenzione è documentato e le costanti interessate dispongono di un percorso di aggiornamento ripetibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
(This came up as part of https://github.com/KhronosGroup/KTX-Software/issues/880, but applies to all bindings, and may therefore warrant its own issue)
There are some files that seem to be largely auto-generated. One of them is vkFormat2glInternalFormat.inl.
These files usually have corresponding files in the bindings. For example
KtxInternalFormat.javain the Java bindingsgl_internalformat.pyin the python bindings
As part of a general cleanup of the JNI part, I wanted to check whether these constants definitions are up to date. But
- without knowing which files are auto-generated, it's hard to decide what has to be done manually
- doing this manually for all bindings sounds like a maintenance nightmare
I already did it manually for things like KtxErrorCode.java, which contains few values, is not auto-generated in the source, and expected to change rarely. But for most of these constants, any manual approach seems infeasible. Just looking at the number of constants, there seem to be 195 cases in vkFormat2glInternalFormat.inl, but only 84 cases in KtxInternalFormat.java, and there doesn't seem to be a reasonable way to "sync" them manually.
Are there any ideas or preferred ways for updating these files?
(I've seen that, for example, the VkFormat.java already is auto-generated, but I'm not sure how well this would scale to the other files)
In doubt, I'll do an update of the files in the JNI bindings, based on the latest state, with some TextPad macros and helper scripts. But I'm wondering about a more future-proof solution.
- Lingua principale
- C++
- Stelle
- 1.4k
- Fork
- 328
- Merge medio
- 20h 40m
- PR unite (30g)
- 18
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 KhronosGroup/KTX-Software
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
KhronosGroup/KTX-Software#1324 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
KhronosGroup/KTX-Software#1253 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
awaiting information
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
KhronosGroup/KTX-Software#1020 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Feature request: separating the core KTX file handling from the higher level supporting write toolsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
KhronosGroup/KTX-Software#1327 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
ktxTexture2_SetImageFromMemory is not accessible (i.e., must use ktxTexture_SetImageFromMemory instead)Forse già presa @walcht l’ha presa 47 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
KhronosGroup/KTX-Software#1273 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di KhronosGroup/KTX-Software
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Quantinuum/tket#2282 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
I maintainer di solito rispondono entro 10 giorni
-
Server crashes when a mob dies to poisonForse già presa @joelstiller l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DarkCastleMUD/DarkCastle#305 ·
I maintainer di solito rispondono entro 1 giorno
-
[Issue]: RAS status report lists the wrong pids for an outlier nodeForse già presa @bhargavchintam l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 2 giorni