grpc-go/CONTRIBUTING.md

47 строки
1.2 KiB
Markdown
Исходник Обычный вид История

# How to contribute
2016-03-24 23:53:34 +03:00
We definitely welcome patches and contribution to grpc! Here are some guidelines
and information about how to do so.
2016-03-24 23:53:34 +03:00
## Sending patches
2016-03-24 23:53:34 +03:00
### Getting started
1. Check out the code:
$ go get google.golang.org/grpc
$ cd $GOPATH/src/google.golang.org/grpc
1. Create a fork of the grpc-go repository.
1. Add your fork as a remote:
$ git remote add fork git@github.com:$YOURGITHUBUSERNAME/grpc-go.git
1. Make changes, commit them.
1. Run the test suite:
$ make test
1. Push your changes to your fork:
$ git push fork ...
1. Open a pull request.
## Legal requirements
In order to protect both you and ourselves, you will need to sign the
[Contributor License Agreement](https://cla.developers.google.com/clas).
2016-03-24 23:53:34 +03:00
## Filing Issues
2015-02-26 01:03:45 +03:00
When filing an issue, make sure to answer these five questions:
2015-02-26 01:05:02 +03:00
1. What version of Go are you using (`go version`)?
2. What operating system and processor architecture are you using?
3. What did you do?
4. What did you expect to see?
5. What did you see instead?
2015-02-26 01:03:45 +03:00
### Contributing code
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.