Contributing¶
Thank you for your interest in contributing to hipo-utils!
Getting Started¶
- Fork the repository on GitLab
- Clone your fork locally
- Create a feature branch
Development Setup¶
git clone git@code.jlab.org:YOUR_USERNAME/hipo-utils.git
cd hipo-utils
meson setup build --buildtype=debug
meson compile -C build
Code Style¶
- Follow the existing code style
- Use modern C++20 features where appropriate
- Add appropriate error handling
- Include
--no-colorsupport for all tools
Adding a New Tool¶
- Create source file in
src/hipo_newtool.cpp - Add executable definition in
meson.build - Add documentation in
docs/tools/hipo-newtool.md - Update
docs/tools/index.mdandmkdocs.ymlnavigation - Add entry to
README.md
Testing¶
Documentation¶
Documentation is built with MkDocs. To preview locally:
Then visit http://127.0.0.1:8000
Submitting Changes¶
- Ensure code compiles without warnings
- Update documentation if needed
- Push to your fork
- Create a Merge Request on GitLab
License¶
By contributing, you agree that your contributions will be licensed under the WTFPL license.