summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/CONTRIBUTING.md
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-04-24 12:26:22 +0200
committerLibravatar GitHub <noreply@github.com>2022-04-24 12:26:22 +0200
commit88979b35d462516e1765524d70a41c0d26eec911 (patch)
treefd37cb19317217e226ee7717824f24031f53b031 /vendor/github.com/uptrace/bun/CONTRIBUTING.md
parentRevert "[chore] Tidy up federating db locks a tiny bit (#472)" (#479) (diff)
downloadgotosocial-88979b35d462516e1765524d70a41c0d26eec911.tar.xz
[chore] Update bun and sqlite dependencies (#478)
* update bun + sqlite versions * step bun to v1.1.3
Diffstat (limited to 'vendor/github.com/uptrace/bun/CONTRIBUTING.md')
-rw-r--r--vendor/github.com/uptrace/bun/CONTRIBUTING.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/uptrace/bun/CONTRIBUTING.md b/vendor/github.com/uptrace/bun/CONTRIBUTING.md
index 03e79cdc4..579b96f8f 100644
--- a/vendor/github.com/uptrace/bun/CONTRIBUTING.md
+++ b/vendor/github.com/uptrace/bun/CONTRIBUTING.md
@@ -7,6 +7,12 @@ cd internal/dbtest
./test.sh
```
+To ease debugging, you can run tests and print all executed queries:
+
+```shell
+BUNDEBUG=2 TZ= go test -run=TestName
+```
+
## Releasing
1. Run `release.sh` script which updates versions in go.mod files and pushes a new branch to GitHub:
@@ -22,3 +28,7 @@ TAG=v1.0.0 ./scripts/release.sh
```shell
TAG=v1.0.0 ./scripts/tag.sh
```
+
+## Documentation
+
+To contribute to the docs visit https://github.com/go-bun/bun-docs