PowerShell / PowerShell/PSResourceGet
Add Scope to Repositories
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 576
- フォーク
- 114
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 7
説明
Summary of the new feature / enhancement
In order to make repository registration available system-wide we should add a -Scope parameter to Register-PSRepository. This parameter will determine the file path where the repository metadata is stored and therefore determine whether all users can access the repository registration. This change will also introduce the following parameters:
- Add a -
ScopeParameter toRegister-PSResourceRepository - Add a -
ScopeParameter toSet-PSResourceRepository - Add a -
ScopeParameter toUnregister-PSResourceRepository - Add a -
ScopeParameter toGet-PSResourceRepository - Add a -
RepositoryScopeParameter toFind-PSResource - Add a -
RepositoryScopeParameter toInstall-PSResource - Add a -
RepositoryScopeParameter toUpdate-PSResource - Add a -
RepositoryScopeParameter toUninstall-PSResource - Add a -
RepositoryScopeParameter toPublish-PSResource - Add a -
RepositoryScopeParameter toSave-PSResource
Proposed technical implementation details (optional)
CurrentUser will remain the default behavior even with these changes.
We will not enforce uniqueness across scope, and therefore need additional parameters to indicate repository scope.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue に記載されているリポジトリ登録のエントリポイント—Register-PSRepository と PSResourceRepository cmdlet—を確認し、続いてリポジトリメタデータのパスがどのように選択されるかを追跡します。完了条件は、一覧にあるすべての Scope および RepositoryScope パラメーターが対象となり、CurrentUser が引き続きデフォルトであり、スコープをまたいだ一意性を要求せずにスコープによって登録を指定できることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- cli, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100