|
| 1 | +# How to become a contributor and submit your own code |
| 2 | + |
| 3 | +## Contributor License Agreements |
| 4 | + |
| 5 | +We'd love to accept your sample apps and patches! Before we can take them, we |
| 6 | +have to jump a couple of legal hurdles. |
| 7 | + |
| 8 | +Please fill out either the individual or corporate Contributor License Agreement |
| 9 | +(CLA). |
| 10 | + |
| 11 | + * If you are an individual writing original source code and you're sure you |
| 12 | + own the intellectual property, then you'll need to sign an [individual CLA] |
| 13 | + (https://developers.google.com/open-source/cla/individual). |
| 14 | + * If you work for a company that wants to allow you to contribute your work, |
| 15 | + then you'll need to sign a [corporate CLA] |
| 16 | + (https://developers.google.com/open-source/cla/corporate). |
| 17 | + |
| 18 | +Follow either of the two links above to access the appropriate CLA and |
| 19 | +instructions for how to sign and return it. Once we receive it, we'll be able to |
| 20 | +accept your pull requests. |
| 21 | + |
| 22 | +## Contributing A Patch |
| 23 | + |
| 24 | +1. Submit an issue describing your proposed change to the repo in question. |
| 25 | +1. The repo owner will respond to your issue promptly. |
| 26 | +1. If your proposed change is accepted, and you haven't already done so, sign a |
| 27 | + Contributor License Agreement (see details above). |
| 28 | +1. Fork the desired repo, develop and test your code changes. |
| 29 | +1. Ensure that your code adheres to the existing style in the sample to which |
| 30 | + you are contributing. Refer to the |
| 31 | + [Google Cloud Platform Samples Style Guide] |
| 32 | + (https://github.com/GoogleCloudPlatform/Template/wiki/style.html) for the |
| 33 | + recommended coding standards for this organization. |
| 34 | +1. Ensure that your code has an appropriate set of unit tests which all pass. |
| 35 | +1. Submit a pull request. |
| 36 | + |
0 commit comments