ISISComputingGroup / ISISComputingGroup/streaming-data-types

Add mechanism for pinning `flatc` to a specific version

オープン
#15 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず generate_rust_bindings.py と既存の flatc 呼び出しを読んで、Python と Rust のバインディングがどのように生成されるかを理解します。固定する flatc のバージョンを定義し、バイナリが GitHub からどのように取得されるかを確認してから、両方のバインディング生成コマンドが引き続き期待される出力を生成することを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, python, rust
領域
build-system, tooling
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。