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

Aberta
#197 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
56/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
linux, powershell, ubuntu
Domínio
devops

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
PowerShell
Estrelas
3.5k
Forks
239
Merge médio
6h 3min
PRs com merge (30d)
37

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de microsoft/WindowsDeveloperConfig

Todas as issues de microsoft/WindowsDeveloperConfig

Issues semelhantes

Mais issues de DevOps

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.