`Find-PSResource` - Ability to exclude tag(s)
还没有人认领这个 Issue。
评估
调研方向
从 Find-PSResource 的实现开始,跟踪标签筛选器如何转换为包搜索 API 查询。将提议的 -ExcludeTag 参数与替代的否定 -Tag 语法进行比较,然后验证包含和排除的标签是否产生预期的搜索结果。
由索引模型根据 Issue 内容生成。
描述
Summary of the new feature / enhancement
It'd be useful with the ability to exclude one or more tags from the result when using Find-PSResource, instead of having all results returned, then filter locally.
Example scenarios where this would be helpful:
- All modules made for
PSEdition_Desktopbut notPSEdition_Core. - All Mac OS only packages.
The API supports it, for instance like so:
- Include "Linux":
substringof(%27Linux%27%2c+Tags)+eq+true - Exclude "Linux":
substringof(%27Linux%27%2c+Tags)+eq+false
Proposed technical implementation details (optional)
- New parameter
-ExcludeTag? !in front of a tag, like this:-Tag 'MacOS', '!Linux'?
- 主要语言
- C#
- 星标
- 576
- 派生
- 114
- 平均合并
- 23 小时 17 分钟
- 30 天内合并 PR
- 8
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PowerShell/PSResourceGet 的其他 Issue
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectory 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
PowerShell/PSResourceGet#2056 ·
-
feature_request
难度 2/5 1-3 小时 新手友好度 68/100
PowerShell/PSResourceGet#2013 · 3 条评论 ·
-
feature_request Needs-Triage
PowerShell/PSResourceGet#2057 · 已指派 1 人 ·
-
Needs-Triage
难度 3/5 1-2 天 新手友好度 68/100
PowerShell/PSResourceGet#2055 ·
-
Needs-Triage
难度 3/5 1-2 天 新手友好度 72/100
PowerShell/PSResourceGet#2054 ·
查看 PowerShell/PSResourceGet 的全部 Issue
相似的 Issue
-
type/automation type/tech-debt
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
-
t/bug
难度 2/5 1-3 小时 新手友好度 82/100
-
ci-failure-cause test-failure
难度 2/5 1-3 小时 新手友好度 82/100
-
area:auth FE mvp P3
难度 2/5 1-3 小时 新手友好度 88/100
klasolsson81/jobbliggaren#1788 ·