grafana/.bingo
Josh Hunt 654d99fbca
Chore: Replace Husky/Lint-staged with Lefthook (#66608)
* Switch from husky+precommit to lefthook

Migrate from husky/precommit to lefthook

h

old husky precommit

lefthook so far

remove husky folder

switch to new lefthook package

Add postinstall script to clean up after husky

preinstall to remove husky config

package.json

package.json

package.json

script

v

Reduce lefthook output

Cleanup

testing

reduce output

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

skip skipping execution info

small cleanup

remove comment from testing

clean up old husky hooks in .git/hooks path

run scripts in parallel

update codeowners

don't auto-install lefthook

install lefthook with make command

fix yarn checksum

* update codeowners

* don't use source because it isn't available in ubuntu/debian's /bin/sh

* Ensure lefthook commits files fixed by precommit hooks

* add comment to lefthook.rc explaining what it does

* add i18n:pseudo precommit

* Don't create .husky/safe-to-delete file anymore

* cleanup old lint-staged config

* contribute docs

* update lefthook to 1.4.8

* Move frontend encouragement docs

* rewrite husky cleanup script in bash so we can run it with make

* Make old husky precommit script reject commits until husky is removed

* log precommit warning for everyone

* fix package.json

* run lefthook hooks from old husky hook

* run lefthook hooks from old husky hook

* comments

* codeowners

* codeowners
2023-08-17 09:56:52 +00:00
..
.gitignore bingo: Update drone-cli to v1.5.0 (#50111) 2022-06-02 17:31:06 +02:00
bra.mod Chore: Add jsonnet library for devenv dashboards (#57928) 2022-11-03 11:04:39 -04:00
bra.sum fix make run on 1.18 (#51160) 2022-06-21 13:57:26 +02:00
cue.mod Chore: Update Cuetsy to v0.1.8 version (#66456) 2023-04-14 16:45:54 +02:00
cue.sum Chore: Update Cuetsy to v0.1.8 version (#66456) 2023-04-14 16:45:54 +02:00
drone.mod Chore: Specify CGO_ENABLED for bingo-install drone in the correct place (#73290) 2023-08-16 08:57:50 +00:00
drone.sum Chore: Specify CGO_ENABLED for bingo-install drone in the correct place (#73290) 2023-08-16 08:57:50 +00:00
go.mod Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
golangci-lint.mod Chore: Update golangci-lint to v1.53.3 (#71771) 2023-07-18 10:03:35 +02:00
golangci-lint.sum Chore: Update golangci-lint to v1.53.3 (#71771) 2023-07-18 10:03:35 +02:00
jb.mod Chore: Add jsonnet library for devenv dashboards (#57928) 2022-11-03 11:04:39 -04:00
jb.sum Chore: Add jsonnet library for devenv dashboards (#57928) 2022-11-03 11:04:39 -04:00
lefthook.mod Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
lefthook.sum Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
README.md Build pipeline: Cleanup build-main pipeline steps (#38484) 2021-08-26 10:11:22 +03:00
swagger.mod Chore: Update swagger to v0.30.2 (#55159) 2022-09-14 14:47:19 +00:00
swagger.sum Alerting: Update Swagger spec (#72177) 2023-07-25 11:34:00 +02:00
variables.env Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
Variables.mk Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
wire.mod Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
wire.sum bingo: Update drone-cli to v1.5.0 (#50111) 2022-06-02 17:31:06 +02:00

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+