How to become a contributor and submit your own code
Contributor License Agreements
We'd love to accept your sample apps and patches! Before we can take them, we
have to jump a couple of legal hurdles.
Please fill out either the individual or corporate Contributor License Agreement
(CLA).
Follow either of the two links above to access the appropriate CLA and
instructions for how to sign and return it. Once we receive it, we'll be able to
accept your pull requests.
Contributing a Patch
- Sign a Contributor License Agreement, if you have not yet done so (see
details above).
- Create your change to the repo in question.
- Fork the desired repo, develop and test your code changes.
- Ensure that your code is clear and comprehensible.
- Ensure that your code has an appropriate set of unit tests which all pass.
- Submit a pull request.
- The repo owner will review your request. If it is approved, the change will
be merged. If it needs additional work, the repo owner will respond with
useful comments.
Contributing a New Sample App
-
Sign a Contributor License Agreement, if you have not yet done so (see
details above).
-
Create your own repo for your app following this naming convention:
- mirror-{app-name}-{language or platform}
- apps: quickstart, photohunt-server, photohunt-client
- example: mirror-quickstart-android
- For multi-language apps, concatenate the primary languages like this:
mirror-photohunt-server-java-python.
-
Create your sample app in this repo.
- Be sure to clone the README.md, CONTRIBUTING.md and LICENSE files from the
googlesamples repo.
- Ensure that your code is clear and comprehensible.
- Ensure that your code has an appropriate set of unit tests which all pass.
- Instructional value is the top priority when evaluating new app proposals for
this collection of repos.
-
Submit a request to fork your repo in googlesamples organization.
-
The repo owner will review your request. If it is approved, the sample will
be merged. If it needs additional work, the repo owner will respond with
useful comments.