Allow a Script Project to use a Data Source root

Aperta
#33 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
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend, databases

Direzione di ricerca

Start by tracing the model validation, database constraints, and migration-planning paths mentioned in the issue. Define behavior for an empty data_path, exclusion of other Projects, documentation and CI-triggered revisions, and migration grouping when root and subdirectory scripts coexist; done means these cases are consistently specified and covered.

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

Descrizione

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

v0.0.1

Proposed functionality

Let an empty data_path select the root of a Data Source rather than requiring a wrapper directory.

A root Project must exclude all other Projects on that Data Source, including a second root Project. Apply this consistently in model validation, database constraints, and migration planning.

Document that normal ingestion rules still apply: changes to documentation or CI files can also create revisions. Define migration grouping when root-level scripts and scripts in subdirectories coexist.

Use case

A repository dedicated to one Script Project should be usable directly. Subdirectory Projects would remain available for repositories containing unrelated content.

External dependencies

No new package or service is expected.

Lingua principale
Python
Stelle
8
Fork
0
Merge medio
11h 23m
PR unite (30g)
24

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.