gateway: support extension hooks
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- go
調査の方向性
まず、リンクされている specs の pull request と gateway handler のエントリーポイントを読み、その後、現在 middleware がリクエストとレスポンスをどのように処理しているかを調べてください。この issue は、extension-hook インターフェースと、シグナルで示されたセマンティクスに対するその動作について合意し、各サーバーにリクエストの再パースを要求することなく実装できた場合にのみ完了です。
索引モデルが issue の本文から書いたものです。
説明
Per https://github.com/ipfs/specs/pull/431 - there is a desire for clients to be able to signal support for additional semantics in their requests to the gateway handler.
https://github.com/ipfs/specs/pull/412 introduced a spec location for signalling of additional parameters.
The ask of the boxo library is how to support usage of the gateway handler with registered support for additional semantics / callback hooks to allow for transformation / changed behavior based upon signalled requests for such.
Currently, the best approach would seem to be for the server to wrap the boxo handler with middleware, which would have to re-parse inbound requests to identify extension semantics, and filter/transform the response as a byte stream. That approach seems like it may lead to unwanted amounts of code reuse. On the flip side, the choice of appropriate hooks to allow server code to plug into does not seem immediately obvious either.
- 主要言語
- Go
- スター
- 326
- フォーク
- 165
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipfs/boxo のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 46/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
need/triage
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
-
dif/medium effort/hours kind/enhancement P3 topic/devexp
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
area/networking kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
siderolabs/talos#14972 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
kubectl wait outputs cryptic "error: unrecognized condition: []" when --for is omitted対応中かも @muskan-creates352 が今日担当しました。 オープンkind/bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
kubernetes/kubectl#1910 · コメント 1 件 ·
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
stacklok/toolhive-catalog#1967 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
unbound-force/gaze#353 ·
メンテナーはふだん 1 日以内に返信