Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.13 KB

CONTRIBUTING.md

File metadata and controls

38 lines (22 loc) · 1.13 KB

CONTRIBUTING

This is a Rust project, so rustup is the best place to start.

The guide

The guide for this project is built using mdBook. Review their guide for more details on how to work with mdBook. Here are a few of the pertinents:

# Install the CLI.
cargo install mdbook

# Build the guide.
mdbook build

# Watch the FS for changes & rebuild.
mdbook watch

Working with git

  • Write the commit message like writing an email to your friends. There is a great git commit format guide.

  • Do rebase and squash the branch onto the latest main branch before publishing a PR.

  • Do NOT rebase after publishing PR. Only merge.

Release checklist

  • make: pass the unit test, format and clippy check.

  • Any documentation updates should also be reflected in the guide.

  • Ensure the Cargo.toml version for openraft or memstore has been updated, depending on which is being released.

  • Once the release CI has been finished, navigate to the release page, update the release info and publish the release.