PowerShell / PowerShell/PSScriptAnalyzer

Improve compatibility profile performance and make profiles a part of central configuration

未關閉
#1,484 5 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

Consider - 2.0
主要語言
C#
星號
2.2k
分支
415
平均合併
13 小時 1 分鐘
30 天內合併 PR
2

描述

Compatibility profiles are currently very slow to start up and use opaque and duplicated configurations across rules.

Instead:

  • They should be more modular so they can be more easily read in
  • They should ideally have a custom parser for speed
  • Rather than being configured by name, they should be specified by PS and OS version and defaults should be implicitly listed in each PSSA version
  • Profiles should be lazily taken from NuGet rather than distributed with PSSA

貢獻指南

開啟貢獻指南

從這裡開始

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

研究方向

先定位相容性設定檔載入路徑和中央設定路徑,然後追蹤啟動期間如何讀取設定檔。將目前的具名設定檔行為與所要求的 PowerShell 和 OS 版本選取、隱含預設值、自訂解析以及延遲 NuGet 取得進行比較。在不引入目前重複的設定且不造成啟動速度變慢的情況下實作這些需求,即表示完成。

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

評估

技術堆疊
csharp, powershell
領域
performance, tooling
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

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

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