Allow a Script Project to use a Data Source root

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend, databases

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
8
Forks
0
Avg merge
9h 56m
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from netbox-community/netbox-scripts

All issues in netbox-community/netbox-scripts

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.