Onemind-Services-LLC / netbox-metatype-importer

Easy import Device and Module types from GitHub repo
Apache License 2.0
43 stars 7 forks source link

Support git based data sources #22

Closed BrokenStandards closed 6 months ago

BrokenStandards commented 1 year ago

NetBox version

v3.5.1

Feature type

Add a function

Proposed functionality

Enable use of git repos as a data source. This would compliment or replace the GitHub GraphQL data source.

Use case

This would make us less reliant on GitHub as a platform. Add resiliency by removing total reliance on a single data source provider. And remove the requirement of setting up a personal access token. And remove the need of potentially creating service accounts just for access tokens.

While APIs are good and all, I'd rather cache the latest version locally or in the database through git than maintain access tokens unnecessarily

External dependencies

GitPython

abhi1693 commented 1 year ago

Rather than reinventing the wheel, we can rely on NetBox data sources to provide this integration. Although, we will need to figure out how this transition happens.

abhi1693 commented 6 months ago

Duplicate of #21