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

Offen
#197 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
56/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
linux, powershell, ubuntu
Bereich
devops

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
PowerShell
Sterne
3.5k
Forks
239
Ø Merge
5 Std. 47 Min.
Gemergte PRs (30 T.)
36

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoft/WindowsDeveloperConfig

Alle Issues in microsoft/WindowsDeveloperConfig

Ähnliche Issues

Weitere Issues zu DevOps

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.