Show the Script File that published each Script

Abierto
#207 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
backend, frontend

Línea de trabajo

The payload names no files, so begin by finding where the revision that last published a Script stores its source path, and how Script File links are built in the existing views. Then add the publishing file to the Script's detail page and as an optional column in the Scripts table, linking to the Script File where one exists. Done when both places show the path and the link works, and the change is related to #81.

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

Descripción

app: scripts Bucket: Improve complexity: low status: backlog type: feature
Plugin Version

v0.1.0

Proposed functionality

Display the publishing Script File on the Script's detail page and as an optional column in the Scripts table.

Use the source path recorded in the revision that last published the Script, linking to the corresponding Script File where available.

Use case

A Script's module path identifies the module defining its class, which may differ from the Script File that publishes it, for example when using script_order to publish classes from helper modules.

Displaying the publishing Script File would make it easier to locate the corresponding file without inspecting the Project's source code.

Related to #81.

External dependencies

None.

Lenguaje dominante
Python
Estrellas
9
Forks
0
Merge medio
18 h 59 min
PR fusionados (30 d)
93

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.