grafana / grafonnet

Jsonnet library for generating Grafana dashboards.
https://grafana.github.io/grafonnet/
Apache License 2.0
352 stars 19 forks source link

Please add Git tags #68

Closed robbat2 closed 1 year ago

robbat2 commented 1 year ago

Please add Git tags to permit pinning specific versions.

This would permit workflows like: jb install github.com/grafana/grafonnet/gen/grafonnet-latest@v9.4.0

Duologic commented 1 year ago

A specific version can be installed like this: jb install github.com/grafana/grafonnet/gen/grafonnet-v9.4.0@main

ggear commented 1 year ago

+1

I appreciate the jb versioning and repository directory layout versioning allows us to pin versions, linking this to git tags is helpful for general git aware tooling which handles dependency management.

Given this nature of this project leans toward being plugged into automated dev-ops pipelines, I should imagine this to be a common requirement - it certainly is for me!

It also helps with #24.

Duologic commented 1 year ago

Closing this as duplicate of #24, this is a request for an alternative install method. The current supported way is to use jsonnet-bundler, which supports versions as shown above and has lock file capabilities to pin to a specific version in time.