-
Notifications
You must be signed in to change notification settings - Fork 1.3k
improve contributing guide #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,12 +2,28 @@ | |
|
|
||
| ## Sign the CLA | ||
|
|
||
| Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests. Please see https://git.k8s.io/community/CLA.md for more info | ||
| Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests. | ||
|
|
||
| Please see https://git.k8s.io/community/CLA.md for more info | ||
|
|
||
| ### Contributing A Patch | ||
| ## Contributing steps | ||
|
|
||
| 1. Submit an issue describing your proposed change to the repo in question. | ||
| 1. The [repo owners](OWNERS) will respond to your issue promptly. | ||
| 1. If your proposed change is accepted, and you haven't already done so, sign a Contributor License Agreement (see details above). | ||
| 1. Fork the desired repo, develop and test your code changes. | ||
| 1. Submit a pull request. | ||
|
|
||
| ## Test locally | ||
|
|
||
| 1. Setup tools | ||
| ```bash | ||
| $ go get -u github.com/golang/dep/cmd/dep | ||
| $ go get -u gopkg.in/alecthomas/gometalinter.v2 | ||
| $ gometalinter.v2 --install # if can't load package, refer: https://github.com/alecthomas/gometalinter/issues/404 | ||
| ``` | ||
| 1. Test | ||
| ```bash | ||
| TRACE=1 ./hack/check-everything.sh | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. check-everything tries to download a bunch of stuff. I'd recommend running
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @DirectXMan12 Thanks for your comments. |
||
| ``` | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fetch dep from master is not recommended. They occaisonally break things on master. Generally, you should use a dep released versoin.