Contributing¶
Contributions and bug fixes are always welcome, even if you're only reporting a bug.
Legal
Contributors retain copyright on their substantial contributions. If applicable, when submitting a PR, please add yourself as an additional copyright holder in LICENCE.md.
Opening issues¶
If you find a bug or would like a new feature, please feel free to open an issue.
If you're taking the time to report a problem, even a seemingly minor one, it is appreciated, and a valid contribution to this project. Even better, if you can contribute by fixing bugs or adding features this is greatly appreciated.
See the developer guide to get a development environment set up.
Contribution workflow¶
Here’s a quick guide for those unfamiliar with the contribution process:
- Fork this repository and then clone it locally:
git clone https://github.com/<your-github-handle>/neworder
- Create a branch for your changes:
git checkout -b bug/fix-a-thing # or git checkout -b feature/add-a-thing
- Create and commit a test that uses the new feature or illustrates the bug. It should fail:
pytest # fails git commit -m <appropriate message>
- Fix the bug or add the new feature and commit. Your test should now pass:
pytest # passes git commit -m <appropriate message>
- If all is well, push to your origin:
git push origin <your-branch-name>
- If you're contributing new code, please add yourself as a copyright holder in the file LICENCE.md and commit this to your branch.
- Finally, submit a pull request.