SimLN is open and welcomes contributions from the community. A good place to start if you have questions is our discussions forum.
The list below contains mandatory checks to be adhered to before a PR can be opened and/or reviewed.
Note: Reviews are contigent on these checks passing locally and in CI.
All tests must pass. Do so by running the command
$ cargo test
Formatting and linting should adhere to the rules specified by default and/or specifically in rustfmt.toml
. Adhere to the linter suggestions made by clippy
.
In addition to these check, the recipe stable-output
ensures consistent and reliable output locally and in CI environment.
$ make check
- Have a clean commit history: It is preferable to use fixup and squash in addressing feedback from PR review. The former (i.e.
fixup
) for the commits they apply to (during review), and latter (squash
) once review is complete. - Use good commit messages
- Resolve all conflicts
- Rebase often