Contributing to diffsan¶
Thank you for your interest in contributing to diffsan!
Before making behavioral changes, start with the design docs index at docs/design/README.md. That is the source of truth for product scope, architecture, contracts, and testing expectations.
Development Setup¶
-
Fork and clone the repository:
-
Install dependencies:
-
Optionally install prek hooks:
Making Changes¶
-
Create a new branch for your feature or bugfix:
-
Make your changes and ensure tests pass:
-
Ensure code quality:
-
Commit your changes using conventional commits:
Commit Message Format¶
We use Conventional Commits. Here are some examples:
feat: add new feature- A new featurefix: resolve bug in X- A bug fixdocs: update README- Documentation changesrefactor: simplify code- Code refactoringtest: add tests for X- Adding testschore: update dependencies- Maintenance tasks
Pull Request Process¶
- Update documentation if needed
- Add tests for new functionality
- Ensure
make verifyandmake testpass - Submit a pull request with a clear description