PowerShell / PowerShell/PSResourceGet
Add Scope to Repositories
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 576
- Fork
- 114
- Merge medio
- 1g 2h
- PR unite (30g)
- 7
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Esamina i punti di ingresso per la registrazione dei repository indicati nell’issue—Register-PSRepository e i cmdlet PSResourceRepository—quindi traccia il modo in cui vengono selezionati i percorsi dei metadati dei repository. Il lavoro è completato quando tutti i parametri Scope e RepositoryScope elencati sono coperti, CurrentUser rimane il valore predefinito e le registrazioni possono essere indirizzate in base all’ambito senza richiedere l’univocità tra ambiti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, powershell
- Ambito
- cli, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100