Thank you for considering contributing to Spring Cloudflare Turnstile! This document outlines the process for contributing to the project and provides guidelines to follow.
By participating in this project, you agree to be respectful to all contributors regardless of gender, gender identity, sexual orientation, disability, age, race, ethnicity, religion, or level of experience.
If you find a bug, please create an issue in the issue tracker with the following information:
- A clear, descriptive title
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Any relevant logs or stack traces
- Your environment (Java version, Spring Boot version, etc.)
Feature requests are welcome. Please create an issue in the issue tracker with:
- A clear, descriptive title
- A detailed description of the feature you'd like to see
- Any relevant examples or use cases
- Why this feature would be beneficial to the project
- Fork the repository
- Create a new branch:
git checkout -b my-feature-branch - Make your changes
- Add tests for your changes
- Run the test suite to ensure all tests pass:
./gradlew test - Update documentation if necessary
- Commit your changes using descriptive commit messages
- Push to your fork:
git push origin my-feature-branch - Create a pull request against the
mainbranch
- Clone the repository:
git clone https://github.com/devondragon/SpringCFTurnstile.git - Navigate to the project directory:
cd SpringCFTurnstile - Build the project:
./gradlew build
- All code changes should include tests
- Tests should cover both success and failure scenarios
- Try to maintain or improve code coverage
- Follow the existing code style in the project
- Use clear, descriptive variable and method names
- Add comprehensive JavaDoc comments for all public methods and classes
- Keep methods focused and reasonably sized
This project follows Semantic Versioning. In summary:
- MAJOR version for incompatible API changes
- MINOR version for functionality added in a backward-compatible manner
- PATCH version for backward-compatible bug fixes
By contributing to this project, you agree that your contributions will be licensed under the project's Apache License 2.0.