[Bug]: Allow Deletion of site without deletion of Files

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
desktop

Hướng nghiên cứu

The payload names no source files, and this repository is the community issue tracker for a closed-source Windows app, so the code is not here. Start by reproducing on Windows: add a site whose directory is a parent of another site's directory, then remove the site and check whether its folder is deleted. Done means removing a site leaves the directory on disk, with the delete-files behaviour tied to an explicit choice. Expect maintainer-side work, so ask before starting.

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

Mô tả

windows
Platform

Windows

Operating system version

Windows 11

System architecture

Intel (x86)

Herd Version

2.0.4

PHP Version

8,3/4/5

Bug description

I wanted to delete an orphan site that just pointed to a directory.

RenderServer
C:\Development\github\RenderServer

I had another app / site that pointed to a subdir

RenderServer2
C:\Development\github\RenderServer\RenderServer

I wanted to delete RenderServer which did not have any files but existed in the list of sites. This was to reduce confusion.

I delted it in the app, however Herd attempted to delete all files also. It should be possible to delete a site / app from herd without it deleting all files, there are lots of reasons a user may wish to not delete files.

Image

Thank you.

Steps to reproduce

No response

Relevant log output

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
124
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 beyondcode/herd-community

Tất cả issue của beyondcode/herd-community

Issue tương tự

Thêm issue về Desktop Dev

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.