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

Đang mở
#197 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, powershell, ubuntu
Lĩnh vực
devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
PowerShell
Star
3.5k
Fork
239
Merge trung bình
6 giờ 3 phút
Pull request đã merge (30 ngày)
37

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/WindowsDeveloperConfig

Tất cả issue của microsoft/WindowsDeveloperConfig

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.