Rooch is an open-source project where everyone can contribute their code and make their creative ideas into a reality. This topic helps new contributors understand how to create a pull request for Rooch on GitHub and provides useful considerations for code contributions.
Rooch is written in Rust, to build Rooch from scratch you will need to install the following tools:
- Git
- Rust install with rustup
- Fork the
rooch
repo and create your branch frommain
. - Open a regular issue for binding the pull request.
- Submit a Draft Pull Requests, tag your work in progress.
- If you have added code that should be tested, add unit tests.
- Change the status to “Ready for review”.
Format: <type>(<scope>): <subject>
<scope>
is optional
feat(rooch-da): add lifecycle in put policy
^--^ ^------------^
| |
| +-> Summary in present tense.
|
+-------> Type: rfc, feat, fix, refactor, ci, docs, chore
Types:
rfc
: this PR proposes a new RFCfeat
: this PR introduces a new feature to the codebasefix
: this PR patches a bug in codebaserefactor
: this PR changes the code base without new features or bugfixci
: this PR changes build/ci stepsdocs
: this PR changes the documents or websiteschore
: this PR only has small changes that no need to record, like coding styles.
Rooch has a Pull Request Template:
## Summary
Summary about this PR
Fixes #issue
You should not change the PR template context, but need to finish:
Summary
- Describes what constitutes the Pull Request and what changes you have made to the code. For example, fixes which issue.
Rooch uses GitHub issues to track bugs. Please include necessary information and instructions to reproduce your issue.
All developer documentation is published on the Rooch developer site, rooch.network.
Please refer to the Code of Conduct, which describes the expectations for interactions within the community.