PowerShell / PowerShell/PSResourceGet
Support for Repository Definition in RequiredModulesFeature Request
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 576
- 派生
- 114
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 7
描述
Summary of the new feature/enhancement
Currently, all modules are assumed to come from a single repository on Install. I would like to be able to define a repository name for any module objects listed in the RequiredModules array of the manifest so PowerShellGet knows where to find them when they are hosted in different places.
Proposed technical implementation details (optional)
RequiredModules = @(
@{ModuleName="MyDependentModule"; ModuleVersion="2.0"; Repository="PrivateRepo"},
@{ModuleName="PublicDependentModule"; ModuleVersion="1.0"; Repository="PSGallery"}
)
Optionally, if I could define just RepositoryUrl and not need to register a repository, that would be another helpful use case.
Duplicate of https://github.com/PowerShell/PowerShellGet/issues/356.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
阅读链接的重复 issue #356,然后追踪 Install 如何在 PSResourceGet 仓库中处理 RequiredModules。完成的标准是模块条目可以如图所示选择自己的 Repository,并且 RepositoryUrl 这一替代方案得到澄清或支持;根据项目现有的测试覆盖率确认该行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, powershell
- 领域
- cli, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 20/100