PowerShell / PowerShell/DSC

`dsc resource list <INPUT>` should leverage the adapter cache to find resources

未關閉
#653 0 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

Issue-Enhancement Needs Triage
主要語言
Rust
星號
523
分支
75
平均合併
3 天 16 小時
30 天內合併 PR
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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先追蹤 dsc resource list <INPUT> 命令和 adapter 資源快取的實作。檢查未指定 adapter 時搜尋的行為,接著判斷如何搜尋已快取 adapter 的資源,而不同時搜尋 adapter 本身。完成的標準是:該命令無需明確指定 adapter 即可找到 adapter 後面的資源,同時維持結果集的聚焦,並妥善處理未快取的系統。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust
領域
cli
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。