Thank you for considering contributing to gpg-tui!
When contributing, please first discuss the change you wish to make via issue, discussion, email, or any other method with the owners of this repository before making a change.
Note that 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
. -
Clone your forked repository:
git clone https://github.com/{user}/gpg-tui && cd gpg-tui/
- Make sure you have everything listed in the requirements section installed. If so, build the project:
cargo build
-
Start committing your changes.
-
Add your tests (if you haven't already) or update the existing tests according to the changes. And check if the tests are passed.
cargo test
# Include other tests
cargo test --features tui-tests,gpg-tests
cargo fmt --all -- --check --verbose
cargo clippy --verbose -- -D warnings
-
Ensure that you updated the documentation and filled the Pull Request template according to the changes you made.
-
Wait for approval from the repository owners. Discuss the possible changes and update your Pull Request if necessary.
-
You may merge the Pull Request once you have the sign-off of the repository owners, or if you do not have permission to do that, you may request them to merge it in case they haven't after a while.
By contributing, you agree that your contributions will be licensed under The MIT License.