How to contribute

  1. Help to review and verify existing patches
  2. Make sure your issue is not all ready in the Jira issue tracker
  3. If not, create a ticket describing the change you're proposing in the Jira issue tracker
  4. Contribute your patch using one of the two methods below

Contributing via a patch

  1. Check out the latest version of the source code

  2. git clone https://git-wip-us.apache.org/repos/asf/thrift.git thrift

  3. Modify the source to include the improvement/bugfix

  4. Remember to provide tests for all submited changes

  5. When bugfixing: add test that will isolate bug before applying change that fixes it
  6. Verify that you follow Thrift Coding Standards (you can run 'make style', which ensures proper format for some languages)

  7. Create a patch from project root directory (e.g. you@dev:~/thrift $ ):

  8. git diff > ../thrift-XXX-my-new-feature.patch

  9. Attach the newly generated patch to the issue

  10. Wait for other contributors or committers to review your new addition
  11. Wait for a committer to commit your patch

Contributing via GitHub pull requests

  1. Create a fork for http://github.com/apache/thrift
  2. Create a branch for your changes(best practice is issue as branch name, e.g. THRIFT-9999)
  3. Modify the source to include the improvement/bugfix

  4. Remember to provide tests for all submited changes

  5. When bugfixing: add test that will isolate bug before applying change that fixes it
  6. Verify that you follow Thrift Coding Standards (you can run 'make style', which ensures proper format for some languages)
  7. Verify that your change works on other platforms by adding a GitHub service hook to Travis CI and AppVeyor

  8. Commit and push changes to your branch (please use issue name and description as commit title, e.g. THRIFT-9999 make it perfect)

  9. Issue a pull request with the jira ticket number you are working on in it's name
  10. Wait for other contributors or committers to review your new addition
  11. Wait for a committer to commit your patch

More info

Plenty of information on why and how to contribute is available on the Apache Software Foundation (ASF) web site. In particular, we recommend the following: