PowerShell / PowerShell/PSScriptAnalyzer
Improve compatibility profile performance and make profiles a part of central configuration
未关闭
还没有人认领这个 Issue。
Consider - 2.0
- 主要语言
- C#
- 星标
- 2.2k
- 派生
- 414
- 平均合并
- 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位兼容性配置文件加载路径和中央配置路径,然后跟踪启动期间如何读取配置文件。将当前的命名配置文件行为与所请求的 PowerShell 和 OS 版本选择、隐式默认值、自定义解析以及延迟 NuGet 获取进行比较。在不引入当前重复的配置和启动速度下降的情况下实现这些要求,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, powershell
- 领域
- performance, tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100