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

Abierto
#1,793 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Sin datos de lenguaje
Estrellas
124
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de beyondcode/herd-community

Todos los issues de beyondcode/herd-community

Issues similares

Más issues de Desktop Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.