ISISComputingGroup / ISISComputingGroup/streaming-data-types
Add mechanism for pinning `flatc` to a specific version
- Vorherrschende Sprache
- Rust
- Sterne
- 0
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github, python, rust
- Bereich
- build-system, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100