#4014 Have the actual score and the minimal score to merge info available in the PR detail
Closed: Fixed 2 years ago Opened 2 years ago by fbo.

In my use case I need to know if a PR have enough approvals to be mergeable in Pagure. But today it is not easy to get this information. The current way is to check the cache_merge_status but this field is not always accurate.

So the idea is to either have the following fields in PR details in the API:
current_score: 1
minimal_approval_score: 2

or just:
minimal_approval_score_reached: True or False


Metadata Update from @pingou:
- Issue set to the milestone: 5.2
- Issue tagged with: RFE, easyfix

2 years ago

Metadata Update from @pingou:
- Issue assigned to pingou

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #4024 Merged 2 years ago