Want to contribute? Great! First, read this page (including the small print at the end).
Before we can use your code, you must sign the Google Individual Contributor License Agreement (CLA), which you can do online. The CLA is necessary mainly because you own the copyright to your changes, even after your contribution becomes part of our codebase, so we need your permission to use and distribute your code. We also need to be sure of various other things—for instance that you'll tell us if you know that your code infringes on other people's patents. You don't have to sign the CLA until after you've submitted your code for review and a member has approved it, but you must do it before we can put your code into our codebase. Before you start working on a larger contribution, you should get in touch with us first through the issue tracker with your idea so that we can help out and possibly guide you. Coordinating up front makes it much easier to avoid frustration later on.
See GettingStarted.
All submissions, including submissions by project members, require review. We use Github pull requests for this purpose.
- Make sure that you are a member of the team. Ask @gimite to add you if you are not.
- Find an issue to work on, or create a new one, in the issue list.
- Create a new branch, prefixed with your username.
$ git checkout -b $USER-your-new-feature
- Make changes and commit. Repeat the step until you are ready for code review.
$ git commit -a
- Make sure the unit tests and the server tests pass.
$ tools/all_tests
- Push your local changes to the remote repository.
$ git push -u origin $USER-your-new-feature
- Create a new pull request. If you go to https://github.com/google/personfinder, it should show a button to suggest creating a pull request for your branch. Or, you can install hub commandline tool and run:
$ hub pull-request -i <issue #>
(-i is optional, but strongly encouraged.) - The pull request will be reviewed by one of the code reviewers (*) and merged to the master branch after addressing reviewer's comments. (@gimite as of 2016/8).
- Find an issue to work on, or create a new one, in the issue list.
- Fork google/personfinder project on Github.
- Make changes and push to your fork. Repeat the step until you are ready for code review.
$ git commit -a
$ git push -u origin $YOUR_BRANCH
- Make sure the unit tests and the server tests pass.
- Create a new pull request.
- The pull request will be reviewed by one of the code reviewers (*) and merged to the master branch after addressing reviewer's comments. (@gimite as of 2016/8).
Contributions made by corporations are covered by a different agreement than the one above, the Software Grant and Corporate Contributor License Agreement.