Thank you for your interest in contributing to RedPulsar! Your contributions help improve and evolve this project. Please follow the guidelines below to ensure a smooth collaboration.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.
If you encounter a bug, please create an issue on GitHub with the following information:
- Description: A clear and concise description of the bug.
- Steps to Reproduce: Steps to reproduce the behavior.
- Expected Behavior: What you expected to happen.
- Actual Behavior: What actually happened.
- Environment: Information about your environment (e.g., OS, Java version, Redis version).
We welcome suggestions for new features or improvements. Please submit an issue on GitHub with the following details:
- Proposal: A clear and concise description of the proposed enhancement.
- Use Case: The motivation behind the proposal and how it benefits users.
- Alternatives Considered: Any alternative solutions or features you've considered.
To contribute code:
- Fork the Repository: Create your own fork of the repository.
- Create a Branch: Make a new branch for your feature or bugfix.
- Commit Your Changes: Commit your changes with clear and descriptive messages.
- Push to Branch: Push your changes to your fork.
- Submit a Pull Request: Open a pull request with a detailed description of your changes.
Please ensure your pull request adheres to the project's coding standards and includes tests for new functionality.
To set up your development environment:
- Clone the Repository: Clone the repository to your local machine.
- Install Dependencies: Ensure you have Java 11 or higher and Gradle installed.
- Build the Project: Run
./gradlew buildto build the project.
- Language: The project is written in Kotlin.
- Style Guide: Follow the official Kotlin coding conventions.
- Documentation: Document public classes and methods with KDoc.
- Unit Tests: Write unit tests for new features and bug fixes.
- Test Framework: Use JUnit 5 for writing tests.
- Running Tests: Execute
./gradlew testto run the test suite.
By contributing to RedPulsar, you agree that your contributions will be licensed under the Apache License 2.0.