Contributors are welcome to submit their code and ideas. In a long run, we hope this project can be managed by developers from both inside and outside Alibaba.
- Sign CLA of PolarDB-X: Please download PolarDB-X CLA. Follow the instructions to sign it.
Here is a checklist to prepare and submit your PR (pull request).
- Create your own Github branch by forking PolarDB-X related repositories.
- Checkout README for how to start PolarDB-X from source code.
- Push changes to your personal fork and make sure they follow our coding style (descriped in each repository)
- Create a PR with a detail description, if commit messages do not express themselves.
- Submit PR for review and address all feedbacks.
- Wait for merging (done by committers).
Let's use an example to walk through the list.
There are many PolarDB-X related repositories, take ApasaraDB GalaxySQL and ApasaraDB GalaxyGlue for an example. On Github page of GalaxySQL and GalaxyGlue, Click fork button to create your own galaxysql and galaxyglue repository.
git clone https://github.com/your_github/galaxysql.git
cd galaxysql
git submodule add https://github.com/your_github/galaxyglue.git polardbx-rpc
git branch your_github_id_feature_name
git status
git add files-to-change
git commit -m "messages for your modifications"
git checkout develop
git pull
git checkout your_github_id_feature_name
git rebase develop
-- resolve conflict, compile and test --
git push --recurse-submodules=on-demand origin your_github_id_feature_name
Click New pull request or Compare & pull request button, choose to compare branches apsaradb/galaxysql and your_github/your_github_id_feature_name, and write PR description.
Resolve all problems raised by reviewers and update PR.
It is done by PolarDB-X committers.
Copyright © Alibaba Group, Inc.