You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For large/multi-round reviews, it'd be great to be able to get an arbitrary subset of the diff, mainly "changes since last review", like presented in the GitHub UI:
I'm not sure if GitHub exposes that in the API or it'd have to be tracked manually on the first prr submit, but it'd be great to be able to do something like prr get <PR> --changes-since-last-review or something (probably less verbose).
If this is something others would find useful, I'd be happy to take a crack at it (pointers greatly appreciated)
The text was updated successfully, but these errors were encountered:
/// The commit hash of the PR at the time the review was started
commit_id:Option<String>,
) may be a good place to start.
As for getting the changes since last review, may or may not be tricky. I don't see anything obvious in octocrab API so you may need to make REST requests manually.
For large/multi-round reviews, it'd be great to be able to get an arbitrary subset of the diff, mainly "changes since last review", like presented in the GitHub UI:
I'm not sure if GitHub exposes that in the API or it'd have to be tracked manually on the first
prr submit
, but it'd be great to be able to do something likeprr get <PR> --changes-since-last-review
or something (probably less verbose).If this is something others would find useful, I'd be happy to take a crack at it (pointers greatly appreciated)
The text was updated successfully, but these errors were encountered: