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
curl https://issues.apache.org/jira/… | git apply –ignore-space-change |
or
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-####:<Jira description>
Client: <component>
Patch: <Name of person contributing the patch>
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