e268568add
Chore: Define promlib depguard rules (#85082)
* define promlib depguard rules
* add comment
* test: break linting on purpose
* fix linting
* simple change to trigger backend linting/build in CI pipeline
(cherry picked from commit 92f5a0305c)
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
promlib
Prometheus Library (a.k.a. promlib) is the foundation of the Grafana Prometheus data source backend.
How to tag/version?
- Checkout the commit you want to tag (
git checkout <COMMIT_SHA>) - Run
git tag pkg/promlib/<VERSION>(For examplegit tag pkg/promlib/v0.0.12)- NOTE: We're using Lightweight Tags, so no other options are required
- Run
git push origin pkg/promlib/<VERSION> - Verify that the tag was created successfully here
- DO NOT RELEASE anything! Tagging is enough.
- After tagging and waiting 5-10 minutes for go module registry to catch up just bump the
promlibversion ongrafana/grafana- Bumping the version on
grafana/grafanais not necessary asgrafana/grafanais using the local version of it always. - But it is a good practice to do it.
- Bumping the version on