2026-03-08 03:29:19 +01:00
|
|
|
# Contributing to krust
|
|
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
Thanks for contributing.
|
2026-03-08 03:29:19 +01:00
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
For the full engineering standards and maintainer workflow, read:
|
|
|
|
|
- [Contributor Guide](docs/contributor-guide.md)
|
2026-03-08 03:29:19 +01:00
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
## Quick Start for Contributors
|
2026-03-08 03:29:19 +01:00
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
1. Fork and clone the repo.
|
|
|
|
|
2. Create a focused branch.
|
|
|
|
|
3. Make changes with tests/docs updates.
|
|
|
|
|
4. Run required validation.
|
|
|
|
|
5. Open a PR with clear behavior and performance notes.
|
2026-03-08 03:29:19 +01:00
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
## Required Validation
|
2026-03-08 03:29:19 +01:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
cargo fmt --all
|
2026-03-08 14:14:07 +01:00
|
|
|
cargo check --locked
|
|
|
|
|
cargo test --locked
|
|
|
|
|
cargo build --release --locked
|
2026-03-08 03:29:19 +01:00
|
|
|
```
|
|
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
## PR Expectations
|
2026-03-08 03:29:19 +01:00
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
- preserve keybinding and command behavior unless explicitly changing compatibility
|
|
|
|
|
- explain performance impact for hot-path changes
|
|
|
|
|
- include tests for changed behavior
|
|
|
|
|
- update docs for user-visible behavior changes
|
2026-03-08 03:29:19 +01:00
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
## Security
|
2026-03-08 03:29:19 +01:00
|
|
|
|
2026-03-08 14:14:07 +01:00
|
|
|
Do not commit kubeconfigs, tokens, certificates, or sensitive cluster data.
|