Thank you for your interest in contributing to MiniUdm Async Error Tracing! This document provides guidelines and instructions for contributing.
Please be respectful and considerate of others when contributing to this project.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/MiniUdmAsyncErrorTracing.git - Create a branch:
git checkout -b feature/your-feature-name - Make your changes
- Test your changes:
make test - Format your code:
make format - Commit your changes:
git commit -m 'Add your feature' - Push to your fork:
git push origin feature/your-feature-name - Open a Pull Request
# Clone the repository
git clone https://github.com/Ricky512227/MiniUdmAsyncErrorTracing.git
cd MiniUdmAsyncErrorTracing
# Install dependencies
make deps
# Build the project
make build
# Run tests
make test- Follow Go Code Review Comments
- Use
gofmtfor formatting (runmake format) - Add comments for exported functions, types, and packages
- Keep functions small and focused
- Use meaningful variable and function names
- Write tests for new functionality
- Ensure existing tests pass:
make test - Aim for high test coverage
- Use table-driven tests where appropriate
- Write clear, descriptive commit messages
- Use present tense ("Add feature" not "Added feature")
- Reference issues in commit messages when applicable: "Fix #123"
- Ensure your code follows the project's code style
- Update documentation if needed
- Add tests for new features
- Ensure all tests pass
- Update CHANGELOG.md if applicable
- Request review from maintainers
- Code follows the project's style guidelines
- Tests have been added/updated
- All tests pass
- Documentation has been updated
- Commit messages are clear and descriptive
cmd/- Command-line applicationspkg/- Reusable packages (can be imported by other projects)internal/- Internal packages (not for external use)configs/- Configuration filesexamples/- Example codedocs/- Documentation
When reporting issues, please include:
- Description of the issue
- Steps to reproduce
- Expected behavior
- Actual behavior
- Environment (OS, Go version, Kubernetes version)
- Relevant logs or error messages
For feature requests, please:
- Describe the feature and its use case
- Explain why it would be useful
- Consider potential implementation approaches
- Check if a similar feature already exists
Feel free to open an issue for questions or reach out to the maintainers.
Thank you for contributing!