Contributing to Sqlpp11 Adapter
Thank you for your interest in contributing to Sqlpp11 Adapter! This document provides guidelines for contributing to the project.
Getting Started
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/sqlpp11-adapter.git - Create a new branch:
git checkout -b feature/your-feature-name
Development Setup
Requirements
Building
mkdir build
cd build
cmake ..
cmake --build .
Running Tests
cd build
./test
Coding Standards
- Follow the existing code style (we use clang-format with Google style)
- Write clear, self-documenting code
- Add comments for complex logic
- Include Apache 2.0 license header in all new files
- Use C++17 features appropriately
Code Formatting
Format your code using clang-format:
clang-format -i <file>
Making Changes
- Make your changes in your feature branch
- Add or update tests as needed
- Ensure all tests pass
- Commit your changes with clear, descriptive commit messages
- Push to your fork
- Submit a pull request
Pull Request Guidelines
- Provide a clear description of the changes
- Reference any related issues
- Ensure CI passes
- Keep changes focused and atomic
- Update documentation as needed
License
By contributing to Sqlpp11 Adapter, you agree that your contributions will be licensed under the Apache 2.0 License.
Questions?
If you have questions, please open an issue for discussion.