PowerShell / PowerShell/PSResourceGet
Support for Repository Definition in RequiredModulesFeature Request
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 576
- フォーク
- 114
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされている重複 issue #356 を読み、続いて PSResourceGet リポジトリで Install が RequiredModules をどのように処理するかを追跡してください。モジュールエントリが示されているように独自の Repository を選択でき、RepositoryUrl の代替案が明確化されるかサポートされていれば完了です。プロジェクトに既存するテストカバレッジに照らして動作を確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- cli, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 20/100