PowerShell / PowerShell/PSResourceGet
Save/Install PSResource Credential should be in a separate parameterset with URI
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 576
- Forks
- 114
- Ø Merge
- 1 T. 2 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
Typically the Credential should be stored with the PSRepository settings (Ideally protected by Microsoft.Powershell.SecretManagement), and thus the appropriate credentials are relevant there.
If the use case of having credential on these commands directly is to allow for one-off or one-time installations and not save the repository, then it should be gated off to a separate parameterset to explicity note this use case and only allow one repository to be specified either via the repository parameter or a direct URI parameter.
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
Beginne damit, die Parameterdefinitionen von Save-PSResource und Install-PSResource sowie die Verarbeitung der PSRepository-Einstellungen zu lokalisieren. Überprüfe, wie Credential, Repository und eine direkte URI derzeit zusammenspielen, definiere anschließend den separaten Parametersatz und stelle sicher, dass die einmalige Verwendung nur ein Repository oder eine URI zulässt, ohne Repository-Anmeldeinformationen zu speichern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, powershell
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100