PowerShell / PowerShell/PSResourceGet
feature request (breaking) - fail on get/find
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C#
- Estrellas
- 576
- Forks
- 114
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 7
Descripción
(referencing PowerShellGet 2.0)
Please consider changing behavior when Get-Module or Find-Module does not find anything.
Get-Package and Find-Package both fail, enabling the decent usage of try/catch and other errorhandling options
Get-Module or Find-Module both return nothing, but do not fail.
However, for instance Get-InstalledModule does fail....
This is inconvenient and inconsistent.
I noticed in issue https://github.com/PowerShell/PowerShellGet/issues/335 that v3 might introduce a new command?
And while on subject; same with the usage of -Source and -Repository params......
Nice moment to align...
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza comparando el comportamiento de Get-Module, Find-Module, Get-Package, Find-Package y Get-InstalledModule cuando no se encuentran resultados. Revisa el issue 335 de PowerShellGet mencionado y el manejo actual de -Source y -Repository. Se considera terminado cuando se hayan decidido el comportamiento de fallo previsto y la alineación de parámetros, y estén cubiertos de forma coherente para los comandos afectados.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- powershell
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100