PowerShell / PowerShell/PSScriptAnalyzer
Lack of compatibility profiles for current PowerShell Core versions, Windows 11, Windows PowerShell on Windows 11.
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C#
- Estrellas
- 2.2k
- Forks
- 414
- Merge medio
- 13 h 1 min
- PR fusionados (30 d)
- 2
Descripción
Summary of the new feature
Add compatibility profiles for current PowerShell Core versions, Windows 11, Windows PowerShell on Windows 11, potentially other supported OS/PowerShell combinations as outlined by https://learn.microsoft.com/en-us/powershell/scripting/install/powershell-support-lifecycle
As a user, I would like to be able to leverage the PSUseCompatibleCommands check against profiles reflecting the current state of the OS and PowerShell, rather than only dated profiles reflecting unsupported OS and PowerShell versions. I am not proposing removal of any old profiles, just creation of new ones and relocation of unsupported ones to the optional directory.
Proposed technical implementation details (optional)
It would be nice if the process to generate these was added to the CI process, so that as Windows and PS Core versions move forward, new profiles are automatically generated.
What is the latest version of PSScriptAnalyzer at the point of writing
1.24.0
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 revisando los perfiles de compatibilidad existentes de PSUseCompatibleCommands y el ciclo de vida del soporte de PowerShell enlazado en el issue. Determina qué combinaciones actuales de PowerShell Core, Windows 11 y Windows PowerShell necesitan perfiles, y cómo se organizan los perfiles no compatibles en el directorio opcional. Se considera terminado cuando los perfiles actuales están disponibles sin eliminar los anteriores, y se ha investigado la generación mediante CI como parte de la implementación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- powershell
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100