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

Aperta
#1,793 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Nessun dato sulla lingua
Stelle
124
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di beyondcode/herd-community

Tutte le issue di beyondcode/herd-community

Issue simili

Altre issue su Desktop Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.