Contribution guidelines¶
If you want to contribute to MPIRE, great! Please follow the steps below to ensure a smooth process:
Clone the project.
Create a new branch for your feature or bug fix. Give you branch a meaningful name.
Make your feature addition or bug fix.
Add tests for it and test it yourself. Make sure it both works for Unix and Windows based systems, or make sure to document why it doesn’t work for one of the platforms.
Add documentation for it. Don’t forget about the changelog:
Reference the issue number from GitHub in the changelog, if applicable (see current changelog for examples).
Don’t mention a date or a version number here, but use
Unreleased
instead.
Commit with a meaningful commit message (e.g. the changelog).
Open a pull request.
Resolve any issues or comments by the reviewer.
Merge PR by squashing all your individual commits.
Making a release¶
A release is only made by the project maintainer. The following steps are required:
Update the changelog with the release date and version number. Version numbers follow the Semantic Versioning guidelines
Update the version number in
setup.py
anddocs/conf.py
.Commit and push the changes.
Make sure the tests pass on GitHub Actions.
Create a tag for the release by using
git tag -a vX.Y.Z -m "vX.Y.Z"
.Push the tag to GitHub by using
git push origin vX.Y.Z
.