PowerShell / PowerShell/PSResourceGet
[Feature Request] Session scope for Register-PSRepository
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
Team,
Can you please add session scope support for Register-PSRepository?
We have an internal build system that outputs PowerShell modules. Every successful build is published to an internal PSRepository (Artifactory server).
Every time we want to publish a module we have to deal with the following cases:
- Is the repository already registered?
- Is another repository with different name and the same SourceLocation already registered?
- If the repository is already registered and we want to deploy on different url (PublishLocation) we have to modify the existing registration
- Clean the build machine after build procedure (Unregister-PSRepository)
- If 2 parallel builds are running on the same build machine at the same time this can cause conflicts (dealing with the same shared resource)
The problems described above can be avoided with Register-PSRepository operating on session level. Let me know if you have any questions.
Thanks,
Nedko
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 rastreando la implementación existente de Register-PSRepository y cómo se almacenan y se delimitan las registraciones de repositorios. Define el comportamiento esperado de la sesión, incluido el aislamiento para compilaciones paralelas y la semántica de limpieza, y después añade cobertura para esos casos antes de considerar completa la funcionalidad.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, powershell
- Área
- cli, tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100