Contributing
Bug reports, fixes, tests, documentation and platform ports are welcome.
drawbar is pre-1.0, so CLI flags, config keys and daemon protocols may still
evolve. Start with the
contribution guide.
It covers the DCO signoff every commit carries (git commit -s), how pull
requests merge, and what stays out of code, fixtures and docs.
Report vulnerabilities privately through the security policy. Participation follows the Code of Conduct. The code is under the MIT license.
Checks
Run the checks CI runs, from the repository root:
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test --locked
cargo build --locked
CI runs them on ubuntu-latest and ubuntu-24.04-arm. A change that touches
only docs/, .github/, LICENSE, .coderabbit.yaml or .gitignore, or
only Markdown files in the repository root, skips them.
Commits and pull requests
Pull requests merge with Rebase and merge, so each commit stands on its own:
- a Conventional Commit subject, 50 characters at most, in the imperative mood,
- a DCO signoff (
git commit -s), - a passing build and test suite.
Squash fixup commits before review ends. The DCO check must pass alongside
check.
Architecture decisions
Record settled, non-obvious architecture choices as MADR ADRs under
docs/adr/ and index them in docs/adr/README.md. Accepted ADRs are
immutable: supersede, never edit. The existing ones are listed under
Architecture decisions.
This site
docs/build.sh builds the site into docs/book/ with mdBook 0.5.4. CI builds
it on every pull request, checks its links with lychee, and deploys it to
GitHub Pages from main. The pages are Markdown under docs/src/, and
docs/src/SUMMARY.md lists them in order. To build locally, install
mdBook and run:
docs/build.sh
Point MDBOOK at an mdbook binary that is not on PATH.