Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
Ready to contribute? Here's how to set up aicsshparam for local development.
-
Fork the
aicsshparamrepo on GitHub. -
Clone your fork locally:
git clone git@github.com:{your_name_here}/aics-shparam.git -
Install the project in editable mode. (It is also recommended to work in a virtualenv or anaconda environment):
cd src/aicsshparam/ pip install -e .[dev] -
Create a branch for local development:
git checkout -b {your_development_type}/short-descriptionEx: feature/read-tiff-files or bugfix/handle-file-not-found
Now you can make your changes locally. -
When you're done making changes, check that your changes pass linting and tests, including testing other Python versions with make:
make build
-
Commit your changes and push your branch to GitHub:
git add . git commit -m "Resolves gh-###. Your detailed description of your changes." git push origin {your_development_type}/short-description
-
Submit a pull request through the GitHub website.
A reminder for the maintainers on how to deploy.
-
Ensure all changes are committed.
Refer to bump-my-version on PyPI for more details on versioning. -
Bump the version number.
Run one of the following commands depending on the type of version update:bump-my-version major # for major releases with breaking changes bump-my-version minor # for minor releases with new features bump-my-version patch # for patch releases with bug fixes
-
Push the changes and tags to the repository.
git push git push --tags
This will release a new package version on Git and GitHub. When your commit message includes "Bump version," it triggers a GitHub Action that automatically publishes the package to PyPI!