cd shardingsphere
git remote add apache https://github.com/apache/shardingsphere.git
git remote -v
Build and install all modules, it’ll install modules into Maven local repository cache, and also generate Java class files of parser from ANTLR grammar .g4 files to prevent from compile error of parser on IDE.
cd shardingsphere
./mvnw clean install -DskipITs -DskipTests -Prelease
When you pull the latest code from ShardingSphere and create new branch later, you might get similar compile error of parser again, then you could run this command again.
2. Choose Issue
Please choose the issue to be edited. If it is a new issue discovered or a new function enhancement to offer, please create an issue and set the right label for it.
After choosing the relevant issue, please reply with a deadline to indicate that you are working on it.
Find a mentor from the Developer List and he/she will give you feedback about the design and the implementation of function in time.
3. Create Branch
Switch to forked master branch, update local branch, then create a new branch.
The mentor will do code review before discussing some details (including the design, the implementation and the performance) with you. The request will be merged into the branch of current development version after the edit is well enough.
At last, congratulations on being an official contributor of ShardingSphere
6. Delete Branch
You can delete the remote branch (origin/issueNo) and the local branch (issueNo) associated with the remote branch (origin/issueNo) after the mentor merged the pull request into the master branch of ShardingSphere.
git checkout master
git branch -d issueNo
git remote prune origin # If you delete branch on GitHub PR page, else you could delete origin branch with following command
git push origin --delete issueNo
Notice: Please note that in order to show your id in the contributor list, don’t forget the configurations below: