Thank you for your interest in contributing to syncstream! We are accepting pull
requests in any time.
As a reminder, all contributors are expected to follow our Code of Conduct.
Please [fork] this project as your own repository, and create a sub-branch based on any branch in this project. The new branch name could be a short description of the implemented new feature.
After that, clone your repository by
git clone -b <your-branch-name> --single-branch https://github.com/<your-name>/sync-stream.git syncstreamThen, install the dependencies for the development. We suggest to isolate your development environment as a virtual environment.
pip install -r requriements.txtAfter that, you could debug and modify the codes by yourself. Each time you push your modification, the testing workflow would be triggered. If the testing fails, you should:
- Modify your code, and fix the bug reported by the testing.
- or firing a new issue about the testing codes.
You should not modify the testing codes in ./tests. If you think there are any problems in these codes, please descript your problems in the issue.
You could also run the tests locally by
python -m pytest testsAfter you finish your works, please send a new request, and compare your branch with the target branch in syncstream. You could explain your works concisely in the pull request description. You are not required to add the updating reports in the repository, or add the documentation. I could take over these works based on your description.
If you want to contribute to docs, please fork the docs branch, and clone it
git clone -b docs --single-branch https://github.com/<your-name>/sync-stream.git syncstream-docsYou need to install nodejs and yarn first. We suggest to create an isolated conda environment:
conda create -n docs -c conda-forge git python=3.9 nodejsThen you could initialize the docs project by
cd syncstream-docs
npm install -g corepack
corepack enable
corepack prepare yarn --activate
yarn installYou could start the local debugging by
yarn startAfter you finish your works, you could also send a pull request.