PowerShell / PowerShell/PSResourceGet
Add Scope to Repositories
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 576
- Forks
- 114
- Ø Merge
- 1 T. 2 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Überprüfe die im Issue genannten Einstiegspunkte für die Repository-Registrierung—Register-PSRepository und die PSResourceRepository-Cmdlets—und verfolge anschließend, wie die Pfade für Repository-Metadaten ausgewählt werden. Erledigt ist die Aufgabe, wenn alle aufgeführten Scope- und RepositoryScope-Parameter abgedeckt sind, CurrentUser weiterhin der Standard ist und Registrierungen anhand ihres Geltungsbereichs angesprochen werden können, ohne eine bereichsübergreifende Eindeutigkeit zu erfordern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, powershell
- Bereich
- cli, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100