PowerShell / PowerShell/PSResourceGet

Support for Repository Definition in RequiredModulesFeature Request

オープン
#369 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされている重複 issue #356 を読み、続いて PSResourceGet リポジトリで Install が RequiredModules をどのように処理するかを追跡してください。モジュールエントリが示されているように独自の Repository を選択でき、RepositoryUrl の代替案が明確化されるかサポートされていれば完了です。プロジェクトに既存するテストカバレッジに照らして動作を確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, powershell
領域
cli, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。