Thank you for your interest in contributing to logwise! This document provides guidelines and instructions for contributing to the project.
By participating in this project, you agree to maintain our Code of Conduct.
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/logwise.git cd logwise - Add the upstream repository as a remote:
git remote add upstream https://github.com/ORIGINAL_OWNER/logwise.git
- Create a new branch for your feature or fix:
git checkout -b feature/your-feature-name # or git checkout -b fix/your-bug-fix-name
Before creating a bug report, please check the existing issues to avoid duplicates.
When creating a bug report, include:
- A clear and descriptive title
- Steps to reproduce the behavior
- Expected behavior
- Actual behavior
- Environment details (OS, versions, etc.)
- Any relevant logs or screenshots
Use the Bug Report template.
Enhancement suggestions help us improve the project. Please include:
- A clear and descriptive title
- Detailed description of the enhancement
- Use cases and examples
- Potential implementation approaches (optional)
Use the Feature Request template.
-
Update your fork with the latest changes:
git fetch upstream git checkout main git merge upstream/main
-
Push to your fork and create a pull request:
git push origin feature/your-feature-name
-
Fill out the pull request template with details about your changes.
- Follow existing code style and conventions
- Write clear, self-documenting code
- Add comments for complex logic
- Update documentation when adding new features
- Write tests for new functionality
- Ensure all tests pass before submitting
For contributions to the Spark project, please ensure your code is properly formatted using Google Java Format:
- Before opening a PR, run
mvn fmt:formatin thesparkdirectory to automatically format your code - The formatting check runs automatically on pull requests via GitHub Actions
- PRs with formatting issues will fail the formatting check and cannot be merged until fixed
- You can verify formatting locally by running
mvn fmt:checkin thesparkdirectory
Use clear and descriptive commit messages:
- Use the imperative mood: "Add feature" not "Added feature"
- Start with a capital letter
- Keep the first line under 72 characters
- Reference issues and pull requests when applicable
Examples:
Add Kafka consumer configuration for high-throughput logging
Fix memory leak in log aggregation module
Update documentation for deployment guide
- Triager: Reviews and labels new issues, requests missing details, deduplicates, and assigns initial priority.
- Maintainer: Reviews and merges PRs, ensures tests/docs/quality gates, manages releases, and enforces branch protection.
These roles may be held by the same person in small teams but must be documented for accountability.
- All submissions require review and approval
- Reviewers may request changes
- Address feedback promptly
- Be respectful and constructive in discussions
Thank you for contributing to logwise! 🎉