Contributions are welcome and greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
Report bugs at https://github.com/gavinying/modpoll/issues.
When reporting a bug, please include:
- Your operating system name and version.
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
Look through the GitHub issues for bugs. Anything tagged with "bug" and "help wanted" is open for anyone to fix.
Look through the GitHub issues for features. Anything tagged with "enhancement" and "help wanted" is open for anyone to implement.
modpoll
could always use more documentation, whether as part of the official docs, in docstrings, or even on the web in blog posts, articles, and such.
The best way to send feedback is to file an issue at https://github.com/gavinying/modpoll/issues.
If you are proposing a new feature:
- Explain in detail how it would work.
- Keep the scope as narrow as possible to make it easier to implement.
- Remember that this is a volunteer-driven project, and contributions are welcome.
Ready to contribute? Here's how to set up modpoll
for local development.
Here we assume you already have python
, poetry
, and Git
installed. Otherwise, you can use the asdf tool to manage the required tools or install them manually according to the .tool-versions
file.
-
Fork the
modpoll
repo on GitHub, and then clone your fork locally,git clone https://github.com/your-username/modpoll.git cd modpoll
-
Install and activate the dev environment,
make install
-
Create a branch for local development,
git checkout -b your-branch-name
Now you can make your changes locally.
-
Don't forget to add test cases for your added functionality in the
tests
directory. -
When you're done making changes, check that your changes pass the formatting tests,
make check
Then, validate that all unit tests are passing:
make test
-
Commit your changes and push your branch to GitHub:
git add . git commit -m "Your detailed description of your changes." git push origin your-branch-name
Please note this project follows Conventional Commits specification for git commits. Some of our CI/CD pipelines rely on such convention, for example, your commit message starting with
feat:
might bump theMINOR
version. -
Submit a pull request through the GitHub website.
Happy Coding!