Make sure that there is an issue for the patch(s) you are about to commit in our Jira issue tracker
Check out the latest version of the source code
git clone https://github.com/apache/thrift.git thrift
Apply the patch
curl https://issues.apache.org/jira/... |git apply --ignore-space-change
or
curl https://github.com/
Inspect the applied patch to ensure that all Legal aspects on Submission of Contributions (Patches) are met
Run the necessary unit tests and cross-language test cases to verify the patch
Commit the patch
git --config user.name "Your Name" git --config user.email "YourApacheID@apache.org" git add -A git commit
The commit message should be in the format:
THRIFT-####:
Description of what was fixed or addressed.
If this is a github pull request then add the below comment to automatically close the GitHub request, where #NNNN is the PR number:
This closes #NNNN
Double check the patch committed and that nothing was missed then push the patch
git status git show HEAD git push origin master
Resolve the Jira issue and set the following for the changelog
Component the patch is for