There are several ways to help out:
- create an issue on GitHub in case you have found a bug or have a feature request
- write test cases for open bug issues
- write patches for open bug/feature issues
There are a few guidelines that we ask contributors to observe:
-
The code must follow the Go coding standard (checked by a linter, see below).
-
All commits messages should be formatted as
pkgs: short desc A more detailed description.where
pkgsis the name of the package or comma-separated packages in which the change occurred. -
All code changes should be covered by unit tests.
Below you'll find how to build a project and test it.
Make sure you have Go version 1.16 or higher installed.
Clone this repository and run make build:
git clone https://github.com/vkcom/noverify
cd noverify
make buildA resulting binary will be placed in the ./build folder.
The project uses standard tests provided by Go:
make testIt will run all tests from the ./tests folder.
We use golangci-lint. Its configuration file is located at /.golangci.yml.
make lintThis command will install the golangci-lint linter and run the analysis.
For convenience, there is a command
make check, which runs the linter first, and then runs the tests.
We do not use complicated methods for releases. Each release is created manually:
- update the version the
Makefile - add new version to the
src/cmd/composer-get/src/Downloader.php - run the
make releasecommand, it will create archives with executable files in./build - create a new release in GitHub with description, and upload the archives