Extend #Requires -Modules to include a Repository option
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
Línea de trabajo
The issue names no files or tests. Start by locating the #Requires -Modules handling, then trace how it checks the Module Analysis Cache and how PSResourceGet accesses registered repositories. Done means the directive can use an available matching module version, install the requested version from the specified repository when needed, and fail fast if the repository or version is unavailable.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary of the new feature / enhancement
Going forward it would be beneficial to just be able to do the following in a a script
#Requires -Modules @{ ModuleName="DusnaExist"; ModuleVersion="99.93.3.4" ; PSResourceRepository = "PSGallery"}
and
#Requires -Modules @{ ModuleName="DusnaExist"; RequiredVersion="99.93.3.4" ; PSResourceRepository = "kilasuitSecretProjects"}
Proposed technical implementation details (optional)
This would
- Check against Module Analysis Cache
- If exact or higher version is already available continue as is today, depending on if
ModuleVersionorRequiredVersionis specified - If no versions are available, fall back to installing the either the explicit version listed via
RequiredVersion, or the latest version ifModuleVersionis listed from the listed PSResourceRepository, whether that was PSGallery or a private feed. - If the listed repository, hasn't been registered with PSResourceGet or the module versions are not available then fail fast as it would today.
- If exact or higher version is already available continue as is today, depending on if
- Lenguaje dominante
- C#
- Estrellas
- 56.1k
- Forks
- 8.5k
- Merge medio
- 12 h 33 min
- PR fusionados (30 d)
- 73
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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.
Más de PowerShell/PowerShell
-
Needs-Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
PowerShell/PowerShell#28432 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Needs-Investigation WG-Engine WG-NeedsReview
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
PowerShell/PowerShell#28283 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Contributing tab on rendered Readme.md has broken links to two images, under .github/Images, but previews ok in .github/Contributing.mdPosiblemente ocupada @Soumilgit la tomó hace 22 días. AbiertoIssue-Enhancement Needs-Triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
PowerShell/PowerShell#28256 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Issue-Enhancement Needs-Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
PowerShell/PowerShell#28138 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Add support for WebRequestMethod QUERYPosiblemente ocupada @soroshsabz la tomó hace 52 días. AbiertoIssue-Enhancement Up-for-Grabs WG-Cmdlets WG-Reviewed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
PowerShell/PowerShell#28061 · 4 comentarios · 3 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de PowerShell/PowerShell
Issues similares
-
area-templates triage:bot-seen triage:needs-human
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/aspire#22356 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/aspire.dev#2184 ·
Los mantenedores suelen responder en 2 días
-
area-controls-refreshview platform/ios s/triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
dotnet/maui#40314 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Needs: Triage (Functions) v5 v5-preview5
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Azure/azure-functions-core-tools#5918 ·
Los mantenedores suelen responder en 1 día
-
kind:ux needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
elsa-workflows/elsa-foundation#4712 · 1 comentario ·
Los mantenedores suelen responder en 1 día