PowerShell / PowerShell/PSResourceGet

Add Scope to Repositories

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

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

Area-PSRepository feature_request
主要言語
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 -Scope Parameter to Register-PSResourceRepository
  • Add a -Scope Parameter to Set-PSResourceRepository
  • Add a -Scope Parameter to Unregister-PSResourceRepository
  • Add a -Scope Parameter to Get-PSResourceRepository
  • Add a -RepositoryScope Parameter to Find-PSResource
  • Add a -RepositoryScope Parameter to Install-PSResource
  • Add a -RepositoryScope Parameter to Update-PSResource
  • Add a -RepositoryScope Parameter to Uninstall-PSResource
  • Add a -RepositoryScope Parameter to Publish-PSResource
  • Add a -RepositoryScope Parameter to Save-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.

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

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

はじめの一歩

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

調査の方向性

issue に記載されているリポジトリ登録のエントリポイント—Register-PSRepository と PSResourceRepository cmdlet—を確認し、続いてリポジトリメタデータのパスがどのように選択されるかを追跡します。完了条件は、一覧にあるすべての Scope および RepositoryScope パラメーターが対象となり、CurrentUser が引き続きデフォルトであり、スコープをまたいだ一意性を要求せずにスコープによって登録を指定できることです。

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

評価

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

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

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