Explore importing script projects from installed Python packages

Aperta
#42 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

No files, tests, or entry points are named. Start by reading the proposed functionality and related NetBox issue #11923, then document agreement on the provider contract, entrypoint ownership, provenance, dependency handling, upgrade behavior, and explicit safety boundaries.

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

Descrizione

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

v0.0.1

Proposed functionality

Discuss an explicit way to import a Script Project supplied by an installed Python package or NetBox plugin. An administrator would select the provider and import source into a normal revision for validation and activation.

Agree the provider contract, entrypoint ownership, and upgrade behavior first. Package upgrades should create candidates, not silently replace active source. Record package and version provenance, and explain the installed dependencies an older revision still needs.

Keep source immutable. Do not automatically publish imported Script classes, write to legacy SCRIPTS_ROOT, install packages, or allow unrestricted cross-project imports. The initial goal is agreement on the use case and design, not a commitment to a discovery mechanism.

Use case

Package and plugin authors may distribute maintenance or provisioning scripts. Administrators need a deliberate, repeatable way to adopt them without copying files manually after each upgrade.

Related request: netbox-community/netbox#11923.

External dependencies

The provider package must already be installed by an administrator. Other dependencies depend on the agreed design.

Lingua principale
Python
Stelle
8
Fork
0
Merge medio
9h 56m
PR unite (30g)
29

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.