Show the Script File that published each Script

Aperta
#207 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend, frontend

Direzione di ricerca

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.

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

Descrizione

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.

Lingua principale
Python
Stelle
9
Fork
0
Merge medio
18h 59m
PR unite (30g)
93

Preparare l'ambiente

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

Tutte le issue di netbox-community/netbox-scripts

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.