(dsc): Implement `PSResource` and `RepositoryList` DSC resources
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Read the existing DSC resource manifests alongside psresource.dsc.resource.json and repositorylist.dsc.resource.json, then inspect psresourceget.ps1, GetPSResourceListActions, and the Repository class. Implement get, set, test, delete, export, and whatIf for both resources, with behavior matching the existing list resources.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary of the new feature / enhancement
As a user, I want a Microsoft.PowerShell.PSResourceGet/PSResource resource so that a single module or script can be declared without wrapping it in a PSResourceList, and a Microsoft.PowerShell.PSResourceGet/RepositoryList resource so that the full set of registered repositories can be declared in one instance, in the same way PSResourceList does for resources.
Example of what a PSResource instance could look like:
resources:
- name: Pester
type: Microsoft.PowerShell.PSResourceGet/PSResource
properties:
name: Pester
version: '[5.0.0, 6.0.0)'
repositoryName: PSGallery
scope: CurrentUser
Proposed technical implementation details (optional)
- Add
psresource.dsc.resource.jsonandrepositorylist.dsc.resource.jsonnext to the existing manifests. - Implement
get,set,test,delete,exportandwhatIffor both inpsresourceget.ps1, reusingGetPSResourceListActionsand theRepositoryclass so the behaviour matches the list resources.
- Lingua principale
- C#
- Stelle
- 576
- Fork
- 114
- Merge medio
- 23h 17m
- PR unite (30g)
- 8
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.
Altre issue di PowerShell/PSResourceGet
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectory Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PowerShell/PSResourceGet#2056 ·
-
feature_request
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
PowerShell/PSResourceGet#2013 · 3 commenti ·
-
feature_request Needs-Triage
PowerShell/PSResourceGet#2057 · 1 assegnatario ·
-
Needs-Triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
PowerShell/PSResourceGet#2055 ·
-
Needs-Triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
PowerShell/PSResourceGet#2054 ·
Tutte le issue di PowerShell/PSResourceGet
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nightscout/nocturne#1425 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
RayWangQvQ/BiliBiliToolPro#1137 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100