wandersoncferreira / code-review

Code Reviews in Emacs
https://wandersoncferreira.github.io/code-review/
GNU General Public License v3.0
462 stars 49 forks source link

[[Feature]] In Addition to code-review-start and code-review-forge-pr-at-point, Function to get a list of PRs #214

Open WammKD opened 2 years ago

WammKD commented 2 years ago

Is your feature request related to a problem? Please describe. While Code Review easily allows for pulling up a PR from a URL or via Forge, it's not possible to access the list of PRs with Forge for BitBucket which means having to grab the URL of the PR, every time (at which point…why not just use the browser?).

Describe the solution you'd like Like the two mentioned functions, something like code-review-list-prs that would use the current Repo. to pull up a list of PRs to work with; I'm assuming that code-review-start must already use the BitBucket API (while Forge won't) to get all the PR info. so, theoretically, this wouldn't be a terribly far departure from what Code Review is willing to do, as a project.

Describe alternatives you've considered I don't know that I know of any, I'm afraid.

Additional context N/A

wandersoncferreira commented 2 years ago

@WammKD have you tried to use M-x forge-list-pullreqs and then use M-x code-review-forge-pr-at-point?

I'm not an active user of Bitbucket, but the forge list prs does not work in it?