Beam-Connectivity / grafana-dashboard-manager

Import and export Grafana dashboards for backup and dynamic provisioning
MIT License
59 stars 12 forks source link

Remove dependecy on `git` #1

Closed ChristianWitts closed 2 years ago

ChristianWitts commented 2 years ago

Retrieving the version of grafana-dashboard-manager for the purpose of logging should not require that you are running inside of the git repository, or require you to run via poetry to succeed.

I have switched to using importlib.metadata from the stdlib to retrieve the package metadata which contains the version number.

Signed-off-by: Christian Witts cwitts@gmail.com

chan-vince commented 2 years ago

Both are fair points. Thanks for giving this a go!