Thank you for your interest in contributing to Trigger! This document outlines the guidelines for contributing to this project.
By participating in this project, you agree to abide by the Code of Conduct.
-
Use the GitHub issue tracker to report bugs
-
Include detailed information about the issue
-
Provide steps to reproduce
-
Include relevant logs and configuration
-
Open a feature request issue on GitHub
-
Describe the use case and benefits
-
Discuss with maintainers before implementing
-
Fork the repository
-
Create a feature branch (
git checkout -b feature/amazing-feature) -
Make your changes
-
Add tests for new functionality
-
Ensure all existing tests pass
-
Commit your changes (
git commit -m 'Add amazing feature') -
Push to the branch (
git push origin feature/amazing-feature) -
Open a Pull Request
-
Use SPARK for safety-critical components
-
Include preconditions and postconditions
-
Use strong typing
-
Handle all exceptions
-
Include comprehensive documentation
-
Follow Zig language conventions
-
Use allocators properly
-
Handle errors explicitly
-
Document all exported functions
-
Use dependent types where appropriate
-
Maintain purity where possible
-
Document all exported definitions
-
All code must be tested
-
Include unit tests for new functionality
-
Test edge cases and error conditions
-
Maintain existing test coverage