ISISComputingGroup / ISISComputingGroup/streaming-data-types
Add mechanism for pinning `flatc` to a specific version
- Langage dominant
- Rust
- Étoiles
- 0
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par lire generate_rust_bindings.py et l’invocation existante de flatc afin de comprendre comment les bindings Python et Rust sont générés. Définissez la version épinglée de flatc et confirmez comment le binaire est récupéré depuis GitHub, puis vérifiez que les deux commandes de génération des bindings produisent toujours les sorties attendues.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github, python, rust
- Domaine
- build-system, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100