Crates.io | cresca |
lib.rs | cresca |
version | 0.1.0 |
source | src |
created_at | 2024-11-09 15:38:35.402703 |
updated_at | 2024-11-09 15:38:35.402703 |
description | A tool to partially review the pull requests. |
homepage | |
repository | https://github.com/Lfu001/cresca |
max_upload_size | |
id | 1442154 |
size | 20,138 |
A tool to partially review the pull requests.
By marking the reviewed changes as commit instead of "viewed" checkbox in GitHub, there is no confusion about which changes are already reviewed and which are not.
cargo install cresca
Also You need to have git
installed.
Start a review by specifying the branches. Following example will prepare a review branch (named review-main-develop
) for the PR that develop
is to be merged into main
.
cresca review main develop
Review the changes and stage them. You don't have to stage all the changes (e.g. if there are 20 lines of changes in hello.txt, you can stage only 10 lines of it). Stage only the changes you have reviewed. "Stage Selected Ranges" in VSCode is useful for this.
Approve the reviewed changes.
cresca approve
If the assignee pushes new changes after the PR is reviewed, go back to step 1. Only the new changes will be shown in the review branch.
After the PR is merged, you can just delete the review branch.