mirror of
https://github.com/grafana/grafana.git
synced 2025-01-07 22:53:56 -06:00
b287047052
* WIP * Set public_suffix to a pre Ruby 2.6 version * we don't need to install python * Stretch->Buster * Bump versions in lib.star * Manually update linter Sort of messy, but the .mod-file need to contain all dependencies that use 1.16+ features, otherwise they're assumed to be compiled with -lang=go1.16 and cannot access generics et al. Bingo doesn't seem to understand that, but it's possible to manually update things to get Bingo happy. * undo reformatting * Various lint improvements * More from the linter * goimports -w ./pkg/ * Disable gocritic * Add/modify linter exceptions * lint + flatten nested list Go 1.19 doesn't support nested lists, and there wasn't an obvious workaround. https://go.dev/doc/comment#lists |
||
---|---|---|
.. | ||
.gitignore | ||
bra.mod | ||
bra.sum | ||
drone.mod | ||
drone.sum | ||
go.mod | ||
golangci-lint.mod | ||
golangci-lint.sum | ||
README.md | ||
swagger.mod | ||
swagger.sum | ||
variables.env | ||
Variables.mk | ||
wire.mod | ||
wire.sum |
Project Development Dependencies.
This is directory which stores Go modules with pinned buildable package that is used within this repository, managed by https://github.com/bwplotka/bingo.
- Run
bingo get
to install all tools having each own module file in this directory. - Run
bingo get <tool>
to install that have own module file in this directory. - For Makefile: Make sure to put
include .bingo/Variables.mk
in your Makefile, then use $() variable where is the .bingo/.mod. - For shell: Run
source .bingo/variables.env
to source all environment variable for each tool. - For go: Import
.bingo/variables.go
to for variable names. - See https://github.com/bwplotka/bingo or -h on how to add, remove or change binaries dependencies.
Requirements
- Go 1.14+