Thank you for your interest in contributing to patchsplit!
Whether you are fixing a bug, improving documentation, or adding a new feature, your contributions are welcome.
patchsplit is written in Rust.
Before starting development, make sure you have:
- Rust installed.
- Git installed.
- A working development environment for your platform.
Clone the repository:
git clone https://github.com/zitzhen/patchsplit.git
cd patchsplitBuild patchsplit in debug mode:
cargo buildBuild an optimized release:
cargo build --releaseBefore submitting a pull request, please run the relevant checks:
cargo fmt --check
cargo check
cargo test
cargo clippy --all-targets --all-features -- -D warningsIf a check is not applicable to your change, explain why in your pull request.
- Create a new branch for your change.
- Make your changes.
- Run the relevant tests and checks.
- Commit your changes with a clear commit message.
- Open a pull request.
Please keep changes focused and avoid unrelated modifications.
When opening a pull request, please include:
- A clear description of what changed.
- The reason for the change.
- Testing performed.
- Any relevant screenshots or command output, if applicable.
For bug fixes, please include steps to reproduce the issue when possible.
Please use GitHub Issues to report bugs.
Include:
- patchsplit version.
- Operating system and architecture.
- Steps to reproduce.
- Expected behavior.
- Actual behavior.
- Relevant error messages or logs.
Please avoid including sensitive information in bug reports.
- Follow the existing Rust code style.
- Run
cargo fmtbefore submitting changes. - Prefer clear, maintainable code.
- Add or update tests when appropriate.
- Keep documentation up to date when behavior changes.
Packaging-related changes should include the relevant packaging files and any required build or validation steps.
If your change affects Debian, RPM, or other distribution packages, please explain the impact in your pull request.
By contributing to patchsplit, you agree that your contributions will be licensed under the same license as the project, as specified in the repository's LICENSE file.
Thank you for helping improve patchsplit!