Skip to content

API method for searching for PRs to review over multiple repositories and organizations #35932

@mcepl

Description

@mcepl

Feature Description

SUSE is switching to using Gitea both for its openSUSE (https://src.opensuse.org/) and internal use, and it means we will have PRs to review from many different organisations and repositories.

I have fallen in love with the command tea pr review -r lua/lua-macros 1, but now I would like to get a list of all outstanding PRs for me to review. Is there an API equivalent of https://src.opensuse.org/pulls?type=review_requested&sort=recentupdate&state=open ? If there isn’t (as I suspect), could we get one, please?

References: https://gitea.com/gitea/tea/issues/737

Screenshots

This is Open Build Service page My Reviews:

Image

The same result can be obtained (even with simple review editor!) with the command osc request list -i -m ok --involved-projects -s new.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/apiConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions