Thank you for your interest in contributing to git2mail! We are happy and excited to review and accept your pull requests.
Please review and adhere to the code of conduct before contributing any pull requests.
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
Do you just want to file an issue for the project? Please do so in GitHub under the Issues tab.
- Fork the repository: start by forking the git2mail repository to your GitHub account.
- Clone the repository: clone your forked repository to your local machine using:
git clone https://github.com/your-username/git2mail.git
- Set upstream remote: add the original repository as an upstream remote to keep your fork in sync:
git remote add upstream https://github.com/extiop/git2mail.git
- Create a branch: create a new branch for your changes:
git checkout -b feature/your-feature-name
- Make your changes: edit the code or documentation as needed.
- Test your changes: ensure your changes do not break existing functionality by running tests.
- Commit your changes: write clear and concise commit messages:
git add . git commit -m "Add a brief description of your changes"
- Push your branch: push your branch to your forked repository:
git push origin feature/your-feature-name
- Open a pull request: navigate to the original repository and open a pull request from your branch.
- Follow the existing code style and conventions.
- Write clear and concise comments where necessary.
- Ensure your code is well-documented, you can use
cargo docto generate documentation.
- Use
cargo fmtto format your code according to Rust's style guidelines. - Use
cargo clippyto lint your code and fix any warnings or errors.
- Ensure your code is compatible with the latest stable version of Rust.
- Add tests for any new functionality.
- Use
cargo testto run all tests and ensure they pass.
If you have any questions or need assistance, feel free to open an issue or reach out to the maintainers.
Thank you for contributing to git2mail!