Uninstall deletes Ubuntu and its files with no way to keep them

Abierto
#197 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
56/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux, powershell, ubuntu
Área
devops

Línea de trabajo

Start by reading devconfig.ps1 around UninstallWarning (line 124) and trace the -Action Uninstall flow to see where Ubuntu is unregistered and WSL is removed. Decide how the proposed -KeepWsl switch or -Exclude WslCleanup option fits the existing command structure; done means uninstall can preserve WSL and its distros, and the warning accurately describes what will be removed.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

devconfig.ps1's UninstallWarning is Ubuntu and its files will be deleted. Targeted tools are removed even if they predate setup. (line 124 on main @ 2ac20c5), and there's no switch to keep the distro: -Action Uninstall unregisters Ubuntu, deletes its files and uninstalls WSL. People who want to reset the settings without losing their Linux environment can't.

Proposal: a -KeepWsl switch (or, with #192, -Exclude WslCleanup) that leaves WSL and its distros alone, with the warning saying which applies.

Lenguaje dominante
PowerShell
Estrellas
3.5k
Forks
239
Merge medio
6 h 3 min
PR fusionados (30 d)
37

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/WindowsDeveloperConfig

Todos los issues de microsoft/WindowsDeveloperConfig

Issues similares

Más issues de DevOps

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.