ISISComputingGroup / ISISComputingGroup/streaming-data-types

Add mechanism for pinning `flatc` to a specific version

Aperta
#15 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

As per discussion with @Tom-Willemsen and @DanNixon (a while ago now!)

We should pin the `flatc` version somehow to avoid generated bindings changing on new versions and/or when adding schemas.

This could be done by renaming `generate_rust_bindings.py` to `generate_bindings.py`, which goes and pulls a pinned binary of flatc from github, sticks it in the current working directory, then calls `flatc --python` and `flatc --rust` with the appropriate arguments

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reading generate_rust_bindings.py and the existing flatc invocation to understand how Python and Rust bindings are generated. Define the pinned flatc version and confirm how the binary is fetched from GitHub, then verify that both binding-generation commands still produce the expected outputs.

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

Valutazione

Stack tecnologico
github, python, rust
Ambito
build-system, tooling
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.