#2926 RFE: PR mergability status via API
Closed: Fixed 6 years ago Opened 6 years ago by churchyard.

When I visit a Pull Request via web browser, I see whether it can be merged and fast-forwarded or whether it can be merged with a merge commit or maybe that it conflicts.

Can I get this information via the API? Could it please be added?

(I'd like to use the API to merge a list of PRs but only if they are fast-forwardable.)

Thank you.


That info is cached and having an API endpoint that provides this info w/o caching makes an easy endpoint for DDoS'ing pagure.

Can I get the cached information with a timestamp?

hm, not sure we store the timestamp of the cache :s

Can I get a cached_mergability_status_not_sure_how_old? Assuming the cache gets updated when I open the PR in my JS enabled web browser, I can deal with that as long as I don't need to parse it with Selenium (i.e. I'll open 30 PRs in my web browser, wait a bit and then use the API).

Metadata Update from @pingou:
- Issue assigned to pingou

6 years ago

Metadata Update from @pingou:
- Issue tagged with: RFE

6 years ago

Login to comment on this ticket.

Metadata