Delete a single inactive project revision

Abierto
#36 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Trace the existing project and revision deletion paths, including the source-cleanup check for shared content, then inspect the current revision UI and REST actions. Done means active revisions are refused with an explanation, inactive revisions are removed with the existing cleanup behavior, and the confirmation explains the effect on Scripts linked to that revision.

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

Descripción

app: scripts complexity: medium status: backlog type: feature
Plugin Version

v0.0.1

Proposed functionality

Add UI and REST actions to delete an individual revision. Currently, revisions can only be removed by deleting their entire Project.

Refuse deletion of the active revision and explain why. For inactive revisions, reclaim source through the existing cleanup, including its check for other revisions sharing the content.

Explain in the confirmation that Scripts referring to the revision as the one where they were last seen will lose that link.

Use case

An operator should be able to remove an unwanted test upload or broken candidate without deleting the Project. This is a manual cleanup action, separate from automatic revision retention.

External dependencies

No new package or service is expected.

Lenguaje dominante
Python
Estrellas
8
Forks
0
Merge medio
11 h 41 min
PR fusionados (30 d)
38

Preparar el entorno

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 netbox-community/netbox-scripts

Todos los issues de netbox-community/netbox-scripts

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.