Welcome and thank you for taking time to contributing to the project.
- General
- Making a pull request
- Reporting a bug
- Request a change/feature
- Setup your development environment
-
Check that your development setup is correct. (see setup)
-
Make sure your issue have not been attended to already by searching through the project Issues page.
-
Please follow Go best practices when making changes:
-
When comments are made about your changes, always assume positive intent.
Contributing to a Go project is slightly different because of import paths, please follow these steps to make it easier:
-
Fork the repo. This makes a copy of the code you can write to on your Github account. You will now have a repo called
pqstream
under your account i.ehttps://github.com/<your_username>/pqstream
-
If you haven't already done this, please
go get
the repogo get github.com/tmc/pqstream
. This will download the repo into your local$GOPATH
. The repo will be under$GOPATH/src/github.com/tmc/pqstream
-
Change directory to the downloaded repo (
cd $GOPATH/src/github.com/tmc/pqstream
) and tell git that it can push to your fork by adding a remote:git remote add fork https://github.com/<your_username>/pqstream.git
-
Make your changes in the repo on your computer, preferably by branching
-
Push your changes to your fork:
git push fork
-
Create a pull request to merge your changes into the
pqstream
master branch
These guidelines are based on GitHub and Go: forking, pull requests, and go-getting
Bugs can be reported by creating a new issue on the project Issues page.
Change requests can be logged by creating a new issue on the project Issues page. Tip: Search through the issues first to see if someone else have to not maybe requested something similar.
To be able to contribute to this project you will need make sure that you have the following dependencies are installed on your development machine:
-
Go environment (minimum version 1.7):
- Install Go
- To setup your Go workspace, please read How to write Go code
-
Protocol Buffers
- The project uses protocol buffers. The
protoc
compiler can be downloaded from here
- The project uses protocol buffers. The
-
The rest of the Go packages that are needed can be downloaded by running the
build
script in the root folder of the repo.