From 137708df186982c9b60a4f0843ca6b6cbefa8c2a Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Sun, 19 Apr 2026 00:47:31 +0200 Subject: change module path to go.xyrillian.de/schwift/v2 --- CONTRIBUTING.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 96ae415..4b0d100 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,10 +2,8 @@ Before submitting a pull request: -- Please format your code with `gofmt` or `goimports`. -- Please fix warnings generated by `golint` and `go vet`. -- When changing the API, run `godoc -http=:6060`, point your browser to - http://localhost:6060/pkg/github.com/majewsky/schwift and check how your documentation looks. +- Please run `make check` and fix all warnings and errors. +- When changing the API, run `go doc -http` and check how the documentation looks. As a general rule of thumb, we prefer idiomatic Go code as described in: @@ -34,6 +32,6 @@ container](https://github.com/bouncestorage/docker-swift). group). Once that has come up successfully, press Ctrl-C to get back to your terminal prompt; the SAIO container will continue running. -2. Run the tests with `./testing/with-saio.sh go test`. The script will find how to access the Swift API inside the +2. Run the tests with `./testing/with-saio.sh make check`. The script will find how to access the Swift API inside the container, and configure the auth environment variables accordingly. You can use this with any command that requires Swift credentials, e.g. `./testing/with-saio.sh swift stat`. -- cgit v1.2.3