Open
Description
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 toRegister-PSResourceRepository
- Add a -
Scope
Parameter toSet-PSResourceRepository
- Add a -
Scope
Parameter toUnregister-PSResourceRepository
- Add a -
Scope
Parameter toGet-PSResourceRepository
- Add a -
RepositoryScope
Parameter toFind-PSResource
- Add a -
RepositoryScope
Parameter toInstall-PSResource
- Add a -
RepositoryScope
Parameter toUpdate-PSResource
- Add a -
RepositoryScope
Parameter toUninstall-PSResource
- Add a -
RepositoryScope
Parameter toPublish-PSResource
- Add a -
RepositoryScope
Parameter 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.