Thank you for considering to contribute to kmon!
When contributing, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- Fork this repository and create your branch from
master
.
git clone https://github.com/[username]/kmon && cd kmon
- Build the project for installing the dependencies.
cargo build
-
Use
cargo run
command for starting the terminal interface while development. -
Add your tests or update the existing tests according to the changes.
cargo test --all
cargo fmt --all -- --check
cargo clippy -- -D warnings
-
Ensure any install or build dependencies are removed before the end of the layer when doing a build.
-
Update the README.md and CHANGELOG.md with details of changes to the terminal user interface including new environment variables, command line arguments and container parameters.
-
Increase the version number in Cargo.toml to the new version that this Pull Request would represent. The versioning scheme we use is SemVer.
-
You may merge the Pull Request in once you have the sign-off of the two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
By contributing, you agree that your contributions will be licensed under GNU General Public License 3.0.