Skip to content

Allow plugins to declare a release track #17857

Closed
Closed
@natm

Description

@natm

NetBox version

v4.1.4

Feature type

New functionality

Triage priority

I volunteer to perform this work (if approved)

Proposed functionality

When defining a plugin it would be helpful if along with the version, the release track could be optionally declared, for example dev, release, etc.

from netbox.plugins import PluginConfig

class FooBarConfig(PluginConfig):
    name = 'foo_bar'
    verbose_name = 'Foo Bar'
    description = 'An example NetBox plugin'
    version = '0.0.1'
    author = 'Jeremy Stretch'
    author_email = '[email protected]'
    base_url = 'foo-bar'
    release_track = 'release'

config = FooBarConfig

Use case

When installed plugins are listed the track could be displayed along with the version. This could be used to distinguish if a plugin has been installed from a published release or is running from a local development clone.

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions