1.8 KiB
1.8 KiB
Contributing to mbpoll
First off, thank you for considering contributing to mbpoll! 🎉
How to Contribute
Reporting Bugs
- Check the existing issues to avoid duplicates.
- Use a clear and descriptive title.
- Describe the steps to reproduce the bug.
- Include your OS, mbpoll version (
mbpoll -V), and any relevant logs.
Suggesting Features
- Open an issue with the
enhancementlabel. - Explain the use case and why this feature would be useful.
Pull Requests
- Fork the repository.
- Create a branch from
dev(notmaster):git checkout dev git pull origin dev git checkout -b my-feature - Make your changes and commit with clear messages.
- Test your changes — make sure the project builds on your platform.
- Push your branch and open a PR targeting
dev.
⚠️ Important: All pull requests must target the
devbranch.
PRs againstmasterwill not be accepted, asmasteris reserved for stable releases only.
Coding Guidelines
- Follow the existing code style (C99, 2-space indentation).
- Keep commits focused — one logical change per commit.
- Update documentation if your change affects usage or options.
Build Instructions
See the README for detailed build instructions.
Quick summary:
mkdir build
cd build
cmake ..
make
Running Tests
cd build
ctest
Branch Strategy
| Branch | Purpose |
|---|---|
master |
Stable releases only |
dev |
Active development, PR target |
License
By contributing, you agree that your contributions will be licensed under the GPL-3.0 License.