`dsc resource list <INPUT>` should leverage the adapter cache to find resources
まだ誰も着手していません。
- 主要言語
- Rust
- スター
- 523
- フォーク
- 75
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 24
説明
Summary of the new feature / enhancement
dsc resource list <INPUT> will not currently find resources behind adapters without specifying the adapter (or *). With the resource cache for adapters, this may be performant enough to allow searching across all adapters even without being requested.
The downside is that on a system without any cached data, the initial search for a resource will need to build out the caches. This could make the first run of dsc resource list <INPUT> extremely expensive.
Note that I am not suggesting that dsc resource list should search adapters. Even if this was fast to do, the result set would be far too large to be of much use. This may eventually be the case for un-adapted resources.
Proposed technical implementation details (optional)
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、dsc resource list <INPUT> コマンドと adapter resource cache の実装を追跡します。adapter を指定しない場合に検索がどのように動作するかを確認し、そのうえで adapter 自体も検索することなく、キャッシュされた adapter のリソースを検索する方法を特定します。コマンドが明示的な adapter なしで adapter の背後にあるリソースを見つけ、結果セットを絞り込んだ状態に保ち、キャッシュされていないシステムも適切に処理できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100